Issue #1014: Add support for plugging in different authorization services
Renamed AuthorizationService to AuthorizationModule; removed the Comparable extension, using a single Comparator instead