Implementing __set_state for CakeRoute

It helps the applications to cache the routes using var_export when possible.
Ah I see =).

I'd still prefer to see a more simple, explicit test, but otherwise a comment to explain what the test is doing would be a great help.