Rest: add scenario, exception handling

Added possibility of creating a new scenario. Changed exception handling
(now as reason of HTTP error). Fixed research group sorting