This function returns a list of all annotations in buffer which are between start and end inclusively.
This function returns a list of all annotations at position in buffer. If position is
nilpoint is used. If buffer isnilthe current buffer is used.