Added xml markup, more docs

Added xml markup (via GhostDoc) to everything in the class library.
Also made a few cosmetic adjustments to the code in a few places.
added ForgeDoc documentation