Add Tizen native view code for handling orientation lock

Allow setting the system allowed orientations using an environment
variable TIZEN_ALLOWED_ORIENTATIONS. This is useful for testing.
Merge pull request #1356 from kenchris/systemlock

Add Tizen native view code for handling orientation lock