DB: Annotation link insert triggers for search

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
Merge pull request #2687 from joshmoore/insert-reindex-triggers

DB: Annotation link insert triggers for search