Fix some of jshint's annotations
Move bootstrap to devDependencies as it is only used for examples
Introduces some tests
Adds module header and makes use of errors now