DB replacement for cached prefix trees

+ Adds a DAO for filling in and querying over principal-related strings.
+ Renames OriginClient to DomainType so that it can appear in the javadocs (web client pom update required, unless we use a case-insensitive conversion from @RequestParam(...) String to DomainType)