Added better error handling when there is a problem decoding the json from the cldomain inspector.
Extract out some of the method handling functionality so that we can do more complicated handling of method documentation.
Added more documentation.