add exception handler
add exception-handling to ajax-calls
add error-handling to ajax-calls
invent client-exceptions to be able to map to http-status-codes
Merge pull request #22 from fasseg/exceptionHandling

Exception handling