Use mocha for mocking, and use correct before each call

TestCase#before_teardown runs after each test before mocha has restored
its mocks, so we use TestCase#setup instead to clean up the db before
each test.
Add a Projects route that retuns all projects in the database