Added missing typeof and check for existence of L.CRS.
Changed plugin namespace to L.Proj4js
L.Proj4js.Projection, CRS and CRS.TMS accept Proj4.Proj as arguments.