Add function to retrieve annotations by id and type
Add specific  functions to read tag, comment, file & xml annotations
Add support to read file annotation content from file annotation id

Also check if the file annotation is loaded.
Fix file annotation check and typo in function header
Merge pull request #1040 from sbesson/10687_getannotations

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