Add hooks `ack-before-search-starts' and `ack-after-search-completed'