added Exception stack traces when in debug mode
clean code after review
Merge pull request #13 from kimlai/debug_mode

Put the Exception stacktrace in ProblemResponse::detail when in debug mode