Add mg_set_thread_name for setting the thread name for Visual Studio debugging purposes.
Merge pull request #53 from nigels-com/mg_set_thread_name

Set thread name for Visual Studio debugging