[WIP] Replacing entity annotations in favour of XML mapping

TODO:

- [ ] Remove all entity annotations in favour of XML mapping
- [ ] Fix mapped superclass inheritance so that the correct table names are used for extending entities