Setup mongodb each time test is run to prevent shared resource bug.

- Use localhost database if running on Travis.
- Add mongodb to Travis services.
Merge pull request #24 from sgunturi/setup-test-mongo

Fix shared resource bug for unit tests.