[TIMOB-13874] BlackBerry : Orientation change does not work in sdk 3.1.1

This is a backport of the BlackBerry specific parsing
code for tiapp.xml. This fixes an issue with orientations not working.

For testing see the JIRA ticket which includes a test case for BlackBerry app.
After building and running the application the UI should rotate properly as you
turn the device.