Update mavensmate.py

Correcting print() syntax on line 153
Clean up comments and functions

remove unused logic and correct, hide menu items based on file type and
enable based on contents.
is_mm_file() fix

syntax error
update is_mm_file()

Check fore meta.xml file of the same name to determine if it is synched
to the server.
Menu updates

Add stub command that is disabled when there are no valid commands
availabe for the view (not MM file).
Merge pull request #134 from doublesharp/open-on-sfdc

Open On Server, Menu Enhancements, Bug Fixes
push version
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