Mac OSX Bash Updates.

Added docker host lookup for boot2docker.
Added clang arguments to fix some compiles due to recent updates.
Removed curlsh function.

Added .swn to global gitignore.