Properly handle a default constructed edm::RefToBase

Several methods of edm::RefToBase assumed holder_ was properly
set but that is not the case for the default constructor. These methods
are now properly protected against a null pointer.
Merge pull request #3353 from Dr15Jones/fixRefToBaseDefaultConstructed

Core -- Properly handle a default constructed edm::RefToBase