Add preReceive and postReceive hooks
Merge pull request #52 from cowboy129/master

Add preReceive and postReceive hooks