Add support for orientation modes to scene manager.

When a scene is active it will broadcast (via signal) what
display orientation and direction it currently supports. The
scene manager will then update the application orientation preferences
to limit the UI orientation to those supported by the onstage scene.
Implement Window.orientationModes property.
Only support orientation not direction.

So a scene may only restrict orientation to landscape, portrait, or
both. If no orientation is requested, the default behavior is used.
Enable auto-orient behavior by default.

Eventually we will expose setting this from the tiapp.xml file.
Merge branch 'TIMOB-11740'

Implements Window.orientationModes.