Have Database backend class extend \OCP\AppFramework\Db\Mapper.
Merge branch 'share-tags-wip2' of github.com:ockham/core into share-tags-wip2
Fix test.