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.
Change both. It is easier to see that there is a conditional when it is on the beginning of the line.