Fix container.register deprecation warning

container.register(type, name, factory, options) is
container.reigster(fullName, factory, options) where
fullName === type + ':' + name

The deprecation warning now actually fires.
Fix deprecation warnings 3d3327c brought to light.
Merge pull request #2326 from stefanpenner/master

Fix deprecation warning that would never fire