Implement System.Threading.Thread.GetNewManagedID as an icall rather than in managed code, so that it is not reset by a domain reload.
Altered GetNewManagedId to forward to a _internal method instead of being an icall itself, and marked it as a safecall in the audit list
Merge pull request #169 from Unity-Technologies/managed-thread-id-fix

Managed thread id fix (case 601660)
[corlib] Fixed issue with Console.InputEncoding/OutputEncoding not changing the encoding of the underlying writers and readers.
Merge branch 'unity-4.5-staging' of https://github.com/Unity-Technologies/mono into unity-4.5-staging
Fix runtime build on osx 10.10.
Updated mscorlib.audit.
Merge branch 'unity-4.5-staging' of https://github.com/Unity-Technologies/mono into unity-4.5-staging
Merge pull request #172 from Unity-Technologies/unity-4.5-staging

Console.InputEncoding/OutputEncoding and System.Threading.Thread.GetNewManagedID fixes.