Move DebugExceptions#traces_from_wrapper to ExceptionWrapper

ActionDispatch::ExceptionWrapper seems to be the more natural place for
this method to live in.