Added install resources configuration as complement to runtime resources

Simple extension, as yet unused by any entities. Allows files and templates to be configured in a blueprint for copying before installation tasks execute. Also moves creation of directories for install and runtime before resource copying.
Do the `acquireMutex` before the try block. Then we will only ever call `releaseMutex` if acquire actually acquired it.