fixed release bug when released element is not valid
cleaned up gps test
Merge pull request #3898 from sebv/sebv-release-fix-2

Fixed release bug when released element is not valid
safari realdevice fix
Merge pull request #3915 from sebv/safari-realdevice-fix

safari realdevice fix
Simplify getDeviceType() with tests rewritten
Merge pull request #3653 from bem/feature/named-app-priority

Simplify calculation of device type
use a wait instead of sleep
Merge pull request #3908 from Jonahss/gpsTest

cleaned up gps test