Change repository hooks api to use new parser. Add ping call. Update docs.