Updated meridiem to display a.m./p.m. with periods as optional case

Added an extra variable such that using aa or AA will result in a.m./p.m. or A.M./P.M. being printed, respectfully. Also works when converting from a.m. to moment format. (a.m. -> aa)