Automating Discovery and Classification of Transients and Variable Stars in the Synoptic Survey EraPUBLICATIONS OF THE ASTRONOMICAL SOCIETY OF THE PACIFICIF7.72012-11-01159OA