Valid file types, move extensions to settings, refactoring

* Fix possible encoding errors when reading files using codecs package

* Refactor to move is_???_file() methods to util.py

* Add .permissionset to valid extensions

* Move valid extensions to settings file

* New method for browsable files (must have meta.xml file)

Conflicts:
	mavensmate.py