Bug 929315 - [HW test] several bugs fix

Fix some bugs in the following test in UITest

Geolocation
Orientation
Multiactivities
Keyboard

Recording
This test is changed to GetUserMedia test

Path fix
Because I modified the folder structure, paths in scripts should be fix.

Dual alerts bug
Async alert should be avoid