Update mavensmate.py

Correcting print() syntax on line 153
menu updates for active vs selected

Open on server code split between active file and selected files

Conflicts:
	Context.sublime-menu
	Side Bar.sublime-menu
	mavensmate.py
	util.py
menu updates

add is_enabled checking to Main menu items, disable when not an MM
project. hide sidebar items when appropriate. Update text on context
menu with no open projects.
is_mm_project()

check for is_mm_project based on active files, not sublime text project
location. allows for project file to be saved outside the project.
Menu and Command updates

Reorder menu items, add better visibiltiy and enabling checks, fix file
extension checks, add elipse to indicate a new window will open

Conflicts:
	mavensmate.py
mm_compile_rollback_on_error default value

add mm_compile_rollback_on_error default value
Run Active Apex Tests, Payload parameters

New commands to allow for the active or selected files to be
preselected in the Apex Test UI. Only visible when in an MM project and
active when an Apex class with "@isTest" and "testMethod" is in the
selection.

Remove dirs parameter from commands that don't use it.

Update to util.submit_payload() to focus on parameter types instead of
operation to reduce duplication.

Error checking that active file exists on filesystem.

Conflicts:
	util.py
fix for payload parameters

syntax errors for some operation types
select active file when launching apex tests from the command palette

enhancement for use of keyboard shortcuts.
Fix code completion, Fix references to mm_project_directory(), Fix code indexing

* Add default command to open active file in browser
* Add Main > MavensMate > Debug > Generate Apex Class Docs menu item
* Fix GenerateApexClassDocsCommand command
* Import and update ExecuteDoxygen class and handle_doxygen_threads()
from legacy project
* Import bin/doxygen binary from legacy project
fix for opening MM

When the MM app is not open (determined by pgrep) the app is opened
based on settings, fixed to properly load settings before accessing
values.
Update to Compile Project Build

prints out just the class compile errors on a  compile project.
remove debugging code

remove printer.write(Exception)
indexing metadata message, add .object as mm type
menu and default commands

Update order and placement of commands
default and custom apex templates

Move default apex templates map to plugin settings file, combined with
different value in user settings. Keys are used by "create metadata"
commands to display and check valid templates.
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
Merge to 2.0
fix RefreshFromServerCommand is_visible, add util.is_mm_dir()

Fix refresh visibility checking, add is_mm_dir function to check for
project base, src directory or src subdirectory. Clean up functions.
scroll to exception on compile

automatically scroll to the exception on compilation errors by default