GEB-352 - Support for passing page instances as "page" options to window switching

We should probably verify that it's actually the same instance and not only the same class here.