Closes GH-42.
Move the multithreading-and-setlocale documentation to the new portability chapter. Fixes GH-36.