XNAT-2671 Fixed the HeaderIncludes bug causing the exception, plus a document.title bug causing another exception.
XNAT-2658 XNAT-2782 Fixed filtering prearchive by Moving Now. Added ability to filter by Deleting now and Delete pending.
XNAT-2776 Disabled details button in prearchive for sessions in receiving status.
XNAT-2775 Moved Details button below Scanner field in prearchive.
XNAT-2278 Re-added sorting fixes to prearchive. The changes had been lost at some point.
XNAT-2359 Added RECEIVING to list of intermediate statuses.
Fix for XNAT-2633 (removed float: left from CSS rule). Also hacking (done) on date/calendar stuff.
XNAT-2773 Fixed bug where date filter could not be removed in prearchive.