Fix AppCache UI tests for Chrome versions > 27

Updating cookies using WebDriver on Chrome versions greater than 27 doesn't work. Evaluate javascript on browser to change cookies instead.

@bug W-1915161@
@rev lhong@
Merging origin/tbliss/master-pending-appcache-uitest-fix into master