Galaxy and Mass Assembly (GAMA): maximum likelihood determination of the luminosity function and its evolution