Added transition object to router

The transition object can be used to transfer information between
routes.