Import test cases from DVCS for Device Orientation Event

https://dvcs.w3.org/hg/geo/rev/5ee2a7297634

TODO: review the tests