Use collectionUtils  to check if collection is empty or null.
Do not freeze the tool when an error occurred during analysis.
Use American spelling.
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
Remove unused import
Remove size limit for preview.
Limit preview to non big images.
Remove .jy from script names
Remove any extension from script name
make FsFile constructor more permissive
use Deque in CheckedPath
use Deque in FleetingDirectory
add curly braces
remove whitespace
Remove .lock file on server shutdown.

This should be a minimal fix for situations
where FileMaker can't obtain a lock on the .lock
file in ManagedRepository.
Update the "No FS!" message.
Try to overtake .lock file.
Make ImportLibrary error message universal.
Don't try/catch where it's not needed.
Fix LegacyRepositoryUnitTest.java.