Bug 964705 - Use Marionette waits and expected conditions in b2gperf