Adding editorconfig and re-aligning code style with Modernizr

Fixes #8. 

Converts tabs to 2 spaces and adds editorconfig make sure you add the plugin to your favourite editor so it picks up the defaults.
This wasn't supposed to make it in but it fixes the build from being broken. Webpack couldn't resolve that path and you've added `bower_components` to the `moduleDirectories` so webpacks require resolving algorithm will check their already.