tested apply_hooks
added apply_hooks and reference_to_issue policies
added associated remote revisions block