Fixed  g_win32_getlocale

Implemented g_win32_getlocale function to return correct locale.
Adjust type of mono_win_vectored_exception_handle to match its use.

This commit licensed as MIT/X11.
Mark some functions as static.

This commit licensed as MIT/X11.
Move a variable declaration to the start of a block.

This commit licensed as MIT/X11.
Fix MonoW32ExceptionHandler type on win64.

This commit licensed as MIT/X11.
Merge pull request #831 from madewokherd/win64-warnings

fix various warnings in win64 exception code
[jit] Implement the delegate ctor optimization in AOT mode too.
[mcs] Update populated member cache of dynamic containers manually for additional entries. Fixes #16659
[sgen] Only enqueue LOS objects if they contain references.
[sgen] Reverse the free-list after sweeping to be in address-order.
[sgen] Our bzero()/memmove() must store “volatile”, lest LLVM screw us.
[sgen] Explain a FIXME.
[jit] Disable the optimized lmf push/pop code even if the arch specific code enables if it is not supported.
[jit] Use mini_type_get_underlying type in a few missing places int the amd64 port.
[jit] Use mini_type_get_underlying type in a few missing places in the x86 port.
[jit] Use mini_type_get_underlying in a few missing places in the jit.
[jit] Use mini_type_get_underlying in a few missing places in the jit.
[PCL]: Add "System.Dynamic.Runtime.dll" Facade Assembly to MonoTouch.

Added the type-forwarder for `ConditionalWeakTable<T,V>', put all the
others inside a `!FULL_AOT_RUNTIME' conditional, then enabled this in
the MonoTouch build.
[corlib]: Add 'System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken' stub.
[PCL]: Add new 'System.Runtime.InteropServices.WindowsRuntime' Facade Assembly.

FIXME: This is only a stub, the only type currently present is
       `System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken',
       which is only a stub.