Programmatic capabilities configuration

I've refactored `CapabilitiesConfiguration` to init the skeleton from a file, path, URL or a `CapabilitiesDocument` instance. This way I can configure the WPS in Java without the need for any configuration files.

Also the class should now be thread safe and better commented…