ExtensionRegistry clean up

Work oriented toward ensuring the ExtensionRegistry is put into a correct state when ops that modify it fail.

Primary JIRA is WFCORE-21; the other work is general cleanup of how this class works and is used.
I guess https://github.com/wildfly/wildfly-core/pull/68#discussion-diff-16210703R71 does that