Don't check dictionaries unnecessarily
Adopt changes suggested by Chris Jones
Change auto_ptr to unique_ptr, as requested by Chris Jones
Use unique_ptr to avoid possible memory leak
Resolve latest comments from Chris Jones
Address the very last comments of Chris Jones
Use WrapperBase as the new baseclass, not EDProduct
Remove include of empty header EDProduct.h, which was removed
Merge pull request #4958 from wmtan/AvoidReadingDictionariesUnnecessarily

Don't check dictionaries unnecessarily