Do not attempt committing .orig files
Fix unit test (subject must return a tuple)
Fix REST API: return 400 Bad Request on argument parsing errors
Fix some unhandled exceptions due to misplaced argument parsing function calls