Removed use of thread local from CondFormats/EcalObjects

The std::thread_local was being used to return dummy values in the
case where an invalid id was requested. Comments in the code said
that should be fixed and replaced with an exception. This change
does exactly that.
This is needed to reduce our use of thread local in order to get
under the system limit for thread locals in shared libraries.