Added hopefully portable support for linux.
Merge branch 'master' into linux-support

Conflicts:
	bash/bash_profile.symlink
Fix mac and windows OS detection.
Merge pull request #1 from jackcasey/linux-support

Added hopefully portable support for linux.