jpeg header check fix https://haxenme.atlassian.net/browse/NME-153
allow override default Content-Type in URLLoader
fix MIME content type in URLRequest http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/URLRequest.html#contentType
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 branch 'refs/heads/master' into html5fixes

Conflicts:
	browser/net/URLRequest.hx
Fixed "nme rebuild" with no arguments
Manual merge of SVN changes
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.