Clean up spec and whitespace before changing it.
PLATFORM-922

Catch url decode errors and wrap them on a BadRequest (400) exception.
PLATFORM-923

Return a response to the client if an exception is caught in
the upstream handler.
Preserve exception message
Merge remote-tracking branch 'jdegoes/master' into milestones/1.0.0-Mx
Merge remote-tracking branch 'jdegoes/milestones/1.0.0-Mx' into milestones/1.0.0-Mx