Fix tests.
Have add() return a Tag object instead of an ID.
Have Tag class extend \OCP\AppFramework\Db\Entity
Have Database backend class extend \OCP\AppFramework\Db\Mapper.