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.