create the rest router at the geogit rest dispatcher and avoid an extra level of indirection
wired command resource like in web-app
adapted the remaining rest resources to geoserver's restlet version
Fixed an issue which caused the datastore to fail to commit if there was a remote set up.