add remove option to hooks
Merge pull request #3700 from dimagi/uninstall

add remove option to hooks