Implement the screen.orientation property

This adds the property and it is ensured to be correct after
the first orientation change. Another patch will make sure it is
100% correct in all cases.
Merge pull request #1476 from kenchris/orientationprop

Implement the screen.orientation property