Add an API endpoint to retrieve an environment catalog

This reuses the AppCompiler from the 'app' application, but slightly modifies
it to take the environment as an argument.

This will parse all the manifests in $manifest, and return an environment
catalog with all the applications.