Fixes #33.
Fix PDF and RTF parsing
Fix Annotations being created incorrectly
Fixes #40
Fixes PDF text extraction for all PDFs
Fix tooltips overlapping and not allowing to select citation bars.
Codes are now displayed immediately when added, without having to
refresh the page.
Fixed bars being incorrectly placed after deleting annotations.