Documentation updates for #1177
We now have a section that describes what hs_exit() does (including the "wait for foreign calls to return" behaviour), and more documentation on creating libraries of Haskell code. I also imported the section "Beware of DllMain()!" from the haskell.org wiki, with some minor editing.
Showing with 214 additions and 54 deletions