clean up getTroves method, add searchAsDatabase/searchAsRepository methods
clean up getTroves method, add searchAsDatabase/searchAsRepository methods

fedora-conary/conary,fedora-conary/conary,fedora-conary/conary,fedora-conary/conary,fedora-conary/conary