Started work on integration tests.
Added a function to load a fixture into the database.
Using mongojs as dev dependency.
Added first jasmine integration test, getting an empty collection retrieves an empty array.
Added request module as a dev dependency so my tests can retrieve data from the rest api.
Move test util code into own module.
Added a test for retrieving a non-empty collection.
Had to refactor to work with multiple tests, the server is only started once.
It should be started and closed for each test but it will need to be refactored to support this.
Added tests for retrieving existing and non-existing single items from a db collection.