CatchIt to cach errors from functions

app_cryptomedic -> app_main
adding directive catchIt
new generic error: ApplicationError
Adding corresponding template
template now use $options for parameters
Implemented patient.calculateSocialLevel
Implemented patient.getRatio
More generic model
CatchIt directive work as expected

transcluded should use "result" to show the function result
Remove cacthFunction not usefull
Fix label with array
CatchIt working
Change /patient by /folder (more generic)
Search format ok