Android orientation fixes

Implemented orientation uiautomation support.  Tested it with android settings app, but both apps I tested it with was forced to an orientation, so couldn't test on a user app.