Replace usage of APP and ROOT constants

With configure read calls, which are initialized when calling the shell
if not already overridden.

Also change the method used for determining table options to return an
array for easier testing
Configure test APP and ROOT paths
Add the test app namespace to the dev autoloader
Update Namespace in test comparison files
Populate the test app files

These are the files currently used from a src install when running tests
Use Configure::read calls, not constants

Also change the namespace for expectations to be something bake
specific.

Refactor the ClassOptionsForTable tests to test the returned array, not
the expected calls to cli-out
Undo some "beautified" php code in a test template
More constant removals
Don't derive the base namespace
Use the class loader for test namespaces
Use a plugin in this repo
Add re-namespaced files from the core
Nothing calls this method
Consistent file doc blocks
Reduce line length
php-cs-fixer the test_app dir
phpcbf the test_app folder
some further fixes
prefer dist
Remove extra newline