check that bower components are installed

Unless opening the `test/test.html` page in a browser the tests failed
silently with a PhantomJS timeout…

Better breaks the grunt flow with a meaningful message.
add some globals in .jshintrc

Backbone and Leaflet