Assume HTTP status 500 for `defaultHandler`

(the user can still explicitly specify a different status code)
Merge pull request #111 from scotty-web/improved-error-handling

Assume HTTP status 500 for `defaultHandler`