Updates

Addresses issues:
 - #251 By moving the deferred reject into the close function
 - #278 By applying bindings to ```document.head```
 - #279 By updating the delete dialog title when created
 - #280 By setting the SGID on DB and projects directories