hoodiehq/hoodie.js — pull request #361 by gr2m (2014-12-21 17:56:20+00:00)
Title: hoodie.open(dbName).add('test', {}) does not resolve with created object

```js
// given a database 'test' exists that I can write to
window.testDb.add('test', {nr: 1}).done(function(object) {
// object is something like {id:"test/si5m8h2",rev:"1-3b4ec12fd7278aad2a2c762df9b0b76a",ok:true}
// but should be {type: 'test', id: 'si5m8h2', _rev: '1-3b4ec12fd7278aad2a2c762df9b0b76a', createdAt: '2014-09-07T16:06:11.774Z', updatedAt: '2014-09-07T16:06:11.774Z', createdBy: 'abc4567'}
});
```