Updated gitignore to ignore Cloud9 files
Implemented better history module detection/inference disabling