Fixed comment
changed exceptions to gitwrapper exceptions
added a null param handler function
added null-checking
Merge https://github.com/CSC495-2014/TeamworkEnglewoodGit into testing
Merge pull request #1 from samuelfrench/testing

Testing
missing semi-colon
Merge pull request #2 from samuelfrench/master

missing semi-colon
php didn't like a variable without the == true I think
tried allocating var in switch
bad fn call
Bugfixes for editor.

* Save button now triggers a git status call, updating the statuses of modified files.
* An added and modified file is not colored blue in the
  file tree.
* Fixed [Object object] error on server, resulting from null output from custom git command.
Merge branch 'master' of github.com:CSC495-2014/TeamworkEnglewoodGit
Merge pull request #145 from apotheos/master

Bugfixes for Editor
Merge pull request #3 from samuelfrench/testing

Testing
Made null checking function easier to read by splitting it, and simplified the public functions' use of it.
Trying to get the right composer.lock...
copied over composer.lock from the class repo (kept getting invalid reference error when I tried to check it out from the latest commit)
forgot to pull and everything got messed up...

	modified:   app/controllers/GitController.php
	modified:   app/routes.php
Merge branch 'master' of https://github.com/samuelfrench/TeamworkEnglewoodGit