improved promise chaining in waterline

Added a 'then' method to database queries in waterline. It functions by calling 'done' and then returning a [Q](https://github.com/kriskowal/q) promise object.