Make CSP optional because it conflicts with CKEditor for the time being
Fix file uploads not working under some antivirus settings
Enable switching between editor types during edit
Initial import of new document form and related changes