Safari testfix: Layout navigation

SafariDriver doesn't like using the navigation commands off the driver so evaluate javascript to use the window.history object.

@bug W-1849614@

@rev mkohanfars@
Merging origin/tbliss/master-pending-safari-testfix-layout-navigation into master