check local context in -registerEagerSingletons

Look for an entry in the local context in addition to the global context
when registering eager singletons.
Merge pull request #71 from jonwallg/eager_context

Check injector's local context in -initializeEagerSingletons