Refactor project structure

Set up client build with Grunt and Bower
Remove client libraries from version control
Change to use RequireJS for the client
Move base objects under /shared
Add proper object inheritance (client/server)
Move package.json to the project root