Add functions to read annotations from their ID (#10687)

- Add `getAnnotations(session, ids, type)` functions and its shortcuts for comment, tag, file and xml annotations
- Refactor `getFileAnnotationContent` to support file annotation identifier as an input with `getFileAnnotationContent(session, faid, path)`. Also check the file annotation is loaded.