Fix Ref.getType() to return COMMIT, deprecate it, and get rid of its uses everywhere.

Ref.getType() is kind of a forced property. It doesn't really belong to the
ref database and its practically hardcoded to be COMMIT.
The Ref.getType() method gets deprecated and scheduled to be removed in 0.9.0
as its practically of no use and forces ref-parse to unnecessarily call on
resolve-object-type, which can be called separately in case some client code
needs to figure out what kind of object a ref points to with the ref's object
id as argument.
add shutdown hook to cli app to gracefully shutdown when terminated through CTRL+C/SIGINT
Merge branch 'master' into ctrl_c

Conflicts:
	src/cli/src/main/java/org/geogit/cli/GeogitCLI.java
	src/core/src/main/java/org/geogit/repository/Repository.java
	src/storage/bdbje/src/main/java/org/geogit/storage/bdbje/JEObjectDatabase.java
Merge branch 'master' into remove_type_from_ref

Conflicts:
	src/core/src/main/java/org/geogit/api/plumbing/RefParse.java
Merge pull request #594 from groldan/remove_type_from_ref

Deprecate Ref.getType()
Merge pull request #597 from groldan/ctrl_c

gracefully handle CTRL+C on the command line
fixed conflicts command to work when the conflicted state is caused by a rebase operation
Fix typos in documentation and code.
The feature diff web op now operates on any treeish.

It previously only worked with Commit IDs.
The commit web api response now includes the commit ID.
Allow the repo list to be returned in JSON format.
Return EPSG codes for geometry instead of regular WKT name.
Added more functionality to the web log operation.

You can now return a commit range which includes the first
and last commit, as well as the count.
You can also specify whether or not to include a summary
of each commit.
Merge remote-tracking branch 'origin/pr/609'
Added web version of rebuild-graph.
Added a web command to revert changes from a single feature.
Added a web version of the blame operation.
Added basic authentication for http remotes.
Added a verbose and update option to remote web api
Make PluginsModule bind plugin providers to the singleton scope and it doesn't need to extend GeogitModule