Server unit code tests working

Now can add unit tests to tests/test.js and have them run whenever Grunt runs.

Changed some of the project dependencies.