Added ability to refresh page

I had some tests that used the refresh functionality which doesn't seem to be part of the API. I'm not sure if this is by design or just that no one had used the functionality (or perhaps just cast to native).

I had some trouble coming up with a good way to test this since nothing should really change beside that the page should be reloaded. I added some javascript that logs the current ticks and then assert that the tick value is greater after a refresh.