Moments of automorphic L-functions and related problems