Remove `getDateString`.
Add `db` before host/port/name for db options.
Replace `console.log` by `debug`.
Using Mocha for test.
Add travis support.