‘Ted 2’ is a Funnier Film Than it Deserves to Be