Moved the Redirect class from Core and rewrote parts of it

Does not depend on registry anymore but assumes that the Response and
Session classes are passed along to it.