Added methods to manage system hooks from API

Created by: m4tthumphrey

Fixes #2013 (closed)

合并请求报告