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