Fix code style and adapt tests for lib/data

Fixes:
* code style of `lib/data.js` to pass jscs style checker [#482]
* the `getAllDataSets` method which now handles errors as per the Firebase API docs [#480] and
* the unit tests at `test/unit/data.js` which now pass and follow the callback interface of the module [#480]