Implementing __set_state for CakeRoute

It helps the applications to cache the routes using var_export when possible.
Tests updated.