Improve compile-model

- adding application-name parameter
Revert "Improve compile-model"

This reverts commit d9a210ba6df70df7910f2f1dffaf0c6db7bc8035.
Improve compile-model

- Add application-name as parameter
Fix #27

- Add support for custom function for model reference
Fix #26

- Support multiple model base level.
- Must use @override to apply model field changes.
Refactoring

- Use new config:controller-location and config:controller-uri
New config functions to get application path

- config:application-templates-path, config:application-views-path,
config:application-controller-path, config:application-models-path
- It is recommended to rename controller directory in controllers (for
consistency). Associated namespace must be updated (ie
application-namespace/controllers/...).
- New controller, model functions to get location and uri:
config:model-location, config:model-uri, config:controller-location,
config:controller-uri
Removing logging
Fix mocha tests

- Replace xdmp:filesystem-directory to xdmp:filesystem-file-exists