Jshint fixes

This PR adds a .jshintrc that should conform to Leaflet's coding conventions. It also fixes all issues indicated by jshint after this.

It also includes a fix for the zoom argument that was accidentally introduced by #44, and fixes further problems when the option zoomReverse or zoomOffset is used.