Fixes to Registry, ArgumentChecker

* ArgumentChecker can throw any RuntimeException. Mention the null case.
* Add a `.clear()` method to Registry, improve/fix javadoc.
DefaultURIResolverModule: make registry private; create accessors

Also give the possibility to clear.