Add git hooks

Based on the IPython git hooks, to update the nbextension when it changes.