Refactor

Fixing a lot of fugly and paving the way for audit logs and speed improvements through caching.

- [ ] Teams finder
- [ ] Team finder
- [ ] Bucket create
- [ ] Bucket update
- [ ] Bucket destroy
- [ ] Buckets finder
- [ ] Bucket finder
- [ ] Issue archive
- [ ] Issue update
- [ ] PrioritizedIssue create
- [ ] PrioritizedIssue update
- [ ] PrioritizedIssue destroy
- [ ] Session create
- [ ] Session destroy