Use getpid instead of GetCurrentProcessId as the latter calls into io-layer which is not initialzed at this point.
Take shared file lock before collecting file share_info.
Support for video/mp4, video/ogg, video/webm

Added support for the three leading HTML5 Video mime types
.mp4 video/mp4
.ogv video/ogg
.webm video/webm

When Internet Explorer 10 or 11 receives application/octet-stream as the mime type for HTML5 video, it will not play the video. This resolves the issue in an Apache/mod_mono environment.
Support for audio/ogg and audio/mp4

.ogg, .oga audio/ogg
.mp4a, .aac audio/mp4
http://tools.ietf.org/html/rfc4337
Updated various mime types, sources in description

http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/05/08/office-2007-open-xml-mime-types.aspx

http://support.microsoft.com/?id=936496

http://www.rfc-editor.org/rfc/rfc4329.txt

Also added svg image/svg+xml
If HTTP charset header is empty, do not append content encoding to Content-Type header
Some corrections and additions

Changed "aac" to "audio/aac"
http://en.wikipedia.org/wiki/Advanced_Audio_Coding

Added "m4a" for "audio/mp4" and "m4v" for "video/mp4"
Commented out "mp4a" since the official extension is "m4a"
http://tools.ietf.org/rfc/rfc4337.txt
http://en.wikipedia.org/wiki/MPEG-4_Part_14

Added "3pg" for "video/3gpp"
http://tools.ietf.org/html/rfc3839#section-3.2

Added "3g2" for "video/3gpp2"
http://tools.ietf.org/html/rfc4393#section-3.2

Added "ogx" for "application/ogg"
http://tools.ietf.org/html/rfc5334#section-10.1
Added application/json and application/xhtml+xml

application/json:
http://www.ietf.org/rfc/rfc4627.txt
This could improve support for libraries like jQuery that request raw .json files

application/xhtml+xml:
http://www.rfc-editor.org/rfc/rfc3236.txt
Added additional common internet media types

Many of the changes come from: http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types

dtd as application/xml-dtd
http://tools.ietf.org/html/rfc3023#section-3.5

vcf and vcard as text/vcard				http://tools.ietf.org/html/rfc6350#section-10.1

dart as application/dart
https://www.dartlang.org/articles/embedding-in-html/

xps as application/vnd.ms-xpsdocument
oxps as application/oxps
http://www.ecma-international.org/publications/standards/Ecma-388.htm

flac as audio/x-flac
http://en.wikipedia.org/wiki/FLAC

spx as audio/ogg
http://tools.ietf.org/html/rfc5334#section-10.3

opus as audio/ogg
http://tools.ietf.org/html/draft-terriberry-oggopus-01

X3D Mime Types:
http://www.web3d.org/x3d/learn/mimetypes/
http://www.iana.org/assignments/media-types/model/x3d-vrml

appcache for text/cache-manifest
http://en.wikipedia.org/wiki/Cache_manifest_in_HTML5
Add unit test for Content-Type header with and without charset set
[runtime] Fix SleepEx () on linux to clock_nanosleep () to work around time drifting caused by interrupts.
Fix a warning.
[runtime] Align sizes before aligning them to pagesize in the code manager to avoid allocating blocks which are larger than they should be.
[runtime] Allocate code chunks next to each other if possible to prevent vm fragmentation when they are freed during domain unloading. Fixes #17987.
[runtime] Get rid of OpenThread (), move its functionality to mono-threads.c.
[runtime] Get rid of the unused _wapi_thread_dispatch_apc_queue () function.
[runtime] Get rid of the _wapi_thread_signal_self () function.
[runtime] More io-layer threading cleanups.
[runtime] Fix build on Linux.
xmltool.cs fix for writing output to files

A bug in argument handling meant that "mono-xmltool --prettyprint source.xml dest.xml" fails to write dest.xml and erases the contents of source.xml