FileRepository:deleteUnrefercedFiles Improvements
Prevent the table from locking and a table scan very slow delete by instead quiering for the files to remvoe and then removing them seperateley.
Don't update file time stamps when no files have been removed in the filerepository::deleteUnreferencedFiles
Fix dates in browsers
Browsers were not rendering shortdate/date elements consitently.  Use the moment.js library to ensure cross browser date display and sorting.
Fix reserved name 'class' in Display JS.
Decisions stored for individual applicants
Created a template entity which will initially be used for storing decision templates for application, but can be modified for user messages or similiar.
Modifiy decision letters setup to use templates.
Store decision letters permanently in the Decision entity.
Fix preview generation for template applications
Fix bulk decisions to require applicants be selected for all forms