Symmetries and analytic properties of scattering amplitudes in N=4 SYM theory