Fermi-LAT gamma-ray signal from Earth limb, systematic detector effects and their implications for the 130 GeV gamma-ray excess