Add unit tests for server-side routes and refactor code to use 'lib' folder
Use grunt to run unit tests
Add 'sudo npm cache clean' to provision
Merge branch 'feature/server-side-tests' into develop