navigateToPage fix for real devices.
removed empty lines
added fix for switch to and get window handles. You still have to grab window handles, but can switch to another window without grabbing it again.
code style updates
increased the wait between navigating and checking to 1 second (as around 1 out of 30 requests were still coming back with ready, when the page had not started loading). With the wait being 1 second it's all good.
fixed the test as it would freeze on page 2.
spacing.
Merge pull request #720 from snevesbarros/master

navigate to url fix which speeds up execution on real devices