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

Same thing about checking for the same instance here.