XNAT-3440 Made the ScriptResource return a 404 rather than a null string when failing to locate a script.
XNAT-3434 Added missing Javascript that initializes XNAT.app.usedNames.
XNAT-3436 Fixed some issues with custom user group Create/Edit permissions for projects.