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
Merge branch 'refs/heads/master' into html5fixes

Conflicts:
	browser/net/URLRequest.hx
Merge remote-tracking branch 'refs/remotes/deep/master' into html5fixes
Check for null assets/libraries
Fix typo
Add and use UInt8 buffers.  Use IMemoryRange where possible.  Fix glDepthMask
Add and use UInt8 buffers.  Use IMemoryRange where possible.  Fix glDepthMask
centralize getting haxelib, haxe, and nme directories to make it possible to use haxe/haxelib/nme from a maven plugin or build server in an isolated environment. use full paths to 'open' and 'xdg-open' scripts in order to support isolated environments. all of the above should be non-breaking but adds consistency to path handling to make it possible to build nme projects using a build server in a team environment.
Merge branch 'master' of https://github.com/haxenme/NME

Conflicts:
	run.n
	tools/command-line/src/CommandLineTools.hx
	tools/helpers/PathHelper.hx
	tools/run-script/RunScript.hxml
manual merge of various conflicts. hoping this doesn't goof anybody up; I have modified nme path and lib handling to make it possible to use nme from a build server, which was not possible before.
Compile fix
Runtime fix
Merge branch 'master' of https://code.google.com/p/nekonme
Merge pull request #55 from profelis/html5fixes

[html5] small fixes [double]
Enums are not extern
haxe3 port
Create tool that compiles with haxe3 and does enough to get me going
Confirmed the command-line tools are building using the latest Haxe 3 build. If you encounter any problems compiling the tools, run "haxelib upgrade" and ensure you have the latest SWF and SVG libraries