More refactoring

Adds an `ApplicationService` that the existing `BucketService` and new `PrioritizedIssueService` inherit from. Refactored controllers to use services and updated service api's.