Bug 952292 - Add an initialized variable to Geoloc app, update UI test to wait for the variable to be true

I split the commits into two; one for the test change and one for using Travis.

If you merge this please just cherry pick the correct commit.