Add legend, test, themes, example. Depends on Leaflet for better tests.
Merge branch 'v1' of github.com:mapbox/mapbox.js into v1