Added initial Blackberry get orientation support.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	project/blackberry/System.cpp
Remove whitespace from ApplicationMain.hx flash template.
Minor formatting of ApplicationMain.hx flash template.
Remove whitespace from ApplicationMain.hx html5 template.
Update preloader type in ApplicationMain.hx flash template.

Update the preloader type so when end-users wish to customise the
preloader class they have the choice of extending the existing
NMEPreloader class or writing their own implementation.
Update preloader type in ApplicationMain.hx html5 template.

Update the preloader type so when end-users wish to customise the
preloader class they have the choice of extending the existing
NMEPreloader class or writing their own implementation.
Minor formatting of ApplicationMain.hx html5 template.
.scrollRect for html5
Fix for adding object with .visible = false and .scrollRect != null to stage
rare bug fix
Merge pull request #52 from DanielUranga/master

Initial support for GetDeviceOrientation on Blackberry devices
Merge pull request #53 from justsee/preloader

Preloader
Merge pull request #54 from RealyUniqueName/master

.scrollRect for html5. Second try.