fix entity manager config data
Add basic phpunit structure
Make some test setup data available from the test Bootstrap

Makes the Entity Manager and the application config array available so that tests can pull that data out as the need them. For example, the setUp for controller tests need the application config, and if we continue how we do tests now, with a separate test database, that can be configured in doctrine.config.php
Merge branch 'develop' into feature/tests

Conflicts:
	bootstrap.php
Add tests for api/index and api/:resource/:id
Add setup for a test database
Merge branch 'develop' into feature/tests
Adds a first go at a model testing framework

Not entirely sure about the abstraction going on for testing the U in CRUD. Consultation needed.
Rename model tests. Adds tests for api index view
Makes name of tests class on ApiController more sensible.
Move ApiOutput test to a separate View folder
Merge branch 'feature/tests' into develop

Includes basics of testing framework, with a couple examples for APIController and api view