Add project related hooks APIs.
Merge pull request #7 from ivanzhaowy/master

Add project related hooks APIs.