feat(database): implement index/query API

Implements:
- db.addIndex(name, {map: .., reduce: ..}, callback)
- db.removeIndex(name, callback)
- db.query(index, options, callback)

Implementation based on discussions:
https://github.com/hoodiehq/hoodie-plugins-api/issues/3
https://github.com/hoodiehq/hoodie.js/issues/70#issuecomment-20506841

Closes #3
docs(readme): remove note in readme stating that index/query API is not yet implemented
refactor(database): use `_.isFunction(x)` instead of `typeof x === 'function'`
Merge pull request #40 from wrangr/master

feat(database): implement index/query API