Likelihood Methods for the Detection and Characterization of Gamma-ray Pulsars with the Fermi Large Area Telescope