Added mapperport callback for exit.
Cleanly shutdown ApiIpPortWatchdogThread.
Fixed shutdown stuff.  Mapper now exits cleanly.
Merge branch 'master' into tomk-hadoop
Make hadoop directory.