Move DebugExceptions#traces_from_wrapper to ExceptionWrapper

`ActionDispatch::ExceptionWrapper` seems to be the more natural place for
this method to live in. Pinging @bronzle as he recently fixed an issue in this
method.
I prefer to keep `if` with block version.