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

- Use localhost database if running on Travis.
- Add mongodb to Travis services.