DB: Annotation link insert triggers for search (rebased onto develop)



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

----

REINDEX event logs were only being created for annotation
and annotationlink UPDATE and DELETE actions meaning that
on new tag creation created, re-indexing of the annotated
object was not happening.

This commit adds DBInsertTriggerCheck which adds triggers
once on startup. If this fails (due to permissions, etc.)
only ERRORs will be printed to the log. An admin can then
try executing the included insert-triggers.sql file again