Use promises for the DB connection (promised-mongo)

Promises simplify reading the code, and avoid callbacks arguments in functions (you simply return what you want as in synchronous code).
Note: the .gitignore update is to ignore the global .jshintrc only necessary for my Eclipse JSHint plugin (why can't it read the existing ones?).
Release version v0.5.0