configfile: cache unique keys based on opts
Merge pull request #799 from msimerson/cfreader-cache

configfile: cache unique keys based on opts