Added a function in the Layer model to check to see if a layer is from a geogit data store.  Then using that in layer_detail.html to only show the history tab when it's a geogit layer