Merge branch 'master' into issue-31
Merge branch 'issue-17' into issue-31
Merge branch 'master' into issue-31
Consistent error handling in PulsarDb/db.js.
Add error callback to PulsarDb constructor, Encapsulate Task.id generation inside PulsarDb.saveTask, Fix error of PulsarDb.getTaskList, Add separate config for tests, Change pulsar test according to new PulsarDb with callbacks.
Unify error handling in rest server. Unify work with `next()`: Because all other callbacks of library don't use `return` before them, I've decided to remove them from `next()` too.
Add mongodb to travis. It is needed for the tests.
Add return after callbacks to remove callback redundancy.
Attach event listeners before firing them.
Update README#Manual tests
Consistent callback style for Pulsar.getAvailableTasks.
Replace next.ifError with an old-school error handling.
Fix last next.ifError.
Update README
Add return before all calbacks.
Remove error from empty tasks in getAvailableTasks
Attach event listeners before firing events.
Merge pull request #31 from vogdb/issue-31

Consistent error handling