More RemoteDataStore refactoring!

Use a generic method to remove duplicate code for queries that return
a search result list.
Merge pull request #160 from stephenjust/get-remote-comments

More RemoteDataStore refactoring!