Update adapter.js

groupBy key dot replace null
resolve the issue crash node when return err


 
TypeError: Cannot call method 'map' of undefined
    at xx/node_modules/sails-mongo/lib/adapter.js:309:33
add travis yaml
rewrite count options
Merge pull request #137 from virteman/0.9.x

fix some bugs in version 0.9.x