50372699 catch exceptions in lims api

- add a sinatra error block which catch all the exception in the underlying app. 
- all the exception of the kind of InvalidParameters have a specific handler which set the status to 422