API Upgraded module to use new database ORM

See framework and CMS pull requests:
* https://github.com/silverstripe/sapphire/pull/1360
* https://github.com/silverstripe/silverstripe-cms/pull/311