Page editor friendly

Made a change to make the module more friendly with Page Editor. Depending on rules and layouts, it was possible to launch Page Editor and put the browser into a redirect loop.

Conditions:
- Current device's screen size passed a rule to change the device to Mobile
- Launch Page Editor on a page that does not have a mobile layout defined