Add functions to load annotations from their ID (#10687) (rebased onto develop)



This is the same as gh-1040 but rebased onto develop.

----

- 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.