[WIP] Integration of testing component

This is the WIP for the integration of testing component.

With this work I have also been making the following changes to the testing component.

* App kernel, cofigs and logs are now in `Tests/Functional/App/Kernel`
* Documents specific to the functional test application can be placed in `Tests/Functional/App/Document` - the testing component will automatically add this to the mapping if it exists.