Add main to package.json

In order to require() and use Leaflet via browserify requires
that the package define a main entry point for the module.
Merge pull request #1476 from jwalgran/master

Add main to package.json
Fix zooming on browsers without zoom animation support. Refs #1486
Merge pull request #1487 from danzel/zoom-fixes

Fix zooming on browsers without zoom animation support. Refs #1486
Fix opacity in oldie for the millionth time. Refs #1486
Merge pull request #1490 from danzel/oldie-fixes

Fix opacity in oldie for the millionth time. Refs #1486
Disable 3D CSS transforms on PhantomJS

PhantomJS does not support 3D CSS transform even though it's a Webkit product. This patch detects PhantomJS in the user agent and disables 3D transforms.

Details on PhantomJS support are here: https://groups.google.com/forum/#!msg/phantomjs/h7-4-CWsy1g/KX1tlf5gT5IJ
Merge pull request #1501 from rassie/patch-1

Disable 3D CSS transforms on PhantomJS
fix jshint 1.1.0 errors, update deps and build
Fix copy/paste bug
Add failing test case for #1495 from @iirvine
Fix for #1495
Replace the FeatureGroup test with a better one in events, this one currently fails
Always stamp the context in addEventListener, makes the optimisation always apply if there is a context.
Fix whitespace for jshint
Add another events test and fix from @iirvine
Use L.stamp to always have a stamped context on removal too.
Merge pull request #1514 from danzel/featuregroup

Fix adding/removing events on an unstamped context
safer _getSubdomain

Note that (tilePoint.x + tilePoint.y) might be negative in some cases (custom CRS with tiled WMS).
Merge pull request #1532 from malexeev/master

Somewhat "safer" _getSubdomain method - now it works even when (tilePoint.x + tilePoint.y) is negative.