Revert "made .when defer till runtime"

This reverts commit 97f8d9034bddffc4da3240b2cf004a6f8b2f5631.
fix($state): register states at config-time
fix($urlMatcherFactory): register types at config-time

- allows Types to be referenced before runtime
- reverts 97f8d9034bddffc4da3240b2cf004a6f8b2f5631
- partial revert 838b747664a6687360ea588b1d77faa32e4a7650

fix($state): handle parent.name when parent is obj

 - during state registration, properly grab parent.name and queue state definition, if parent is an object reference
 - Adding comment for commit 838b747664a6687360ea588b1d77faa32e4a7650