Add git hooks.
Mods to accomodate pde-core