[WIP]Issue 71 - Grunt tasks and bower publishing

This is the PR for adding grunt tasks to automate publishing to NPM, bower and the build process. The scope of the bug changed slightly, but only because multiple problems are easily solved at the same time.