Added support to determine whether an entry exists in the cache or not.

* Modified VoteImporter to heavily use cache if possible.