Various fixes for group-related views

- Prevent error when creating a group due to missing create_date
- Properly raise HTTPNotFound if attempting to delete a missing group (also pull in missing import)
- Various fixes for PEP8 compliance