Fixes XNAT-2915: Remove CONCAT() function from sql query.
XNAT-2914 Implemented fix from Rick to avoid accidentally declaring an operation not permitted.
XNAT-2892: Added direct check for guest on create and delete operations.
Fixes XNAT-2865: Added function that preforms a case insensitive search for a subject.
XNAT-2673: Add a xModalMessage to display files that were not uploaded to the server. Added tracking of duplicate entries to back-end code to feed files to the xModalMessage.

xdat changes correspond to changeset https://bitbucket.org/nrg/xdat_1_6dev/commits/cd37d8a9f490be773d37a29f52e58b07445d4a93
XNAT-1146 When changing project for an session, the paths for its image assessors will change as well.