Added Javadoc to context tools.
Added exception handling to the tools.
Fixed a bug in AbstractTypeSpecificContext.java which would have the registration of anonymous beans immediately raise an exception.