Added methods for deleting annotations from an interval.

To minimise code duplication, between get_annotation* and
delete_annotation* methods, an additional layer of methods to
retrieve indices of annotations to be returned/deleted was
introduced (_get_annotation_index/indices/index_range*).