Added ErrorCount and WarningCount methods to document object.

I saw these methods in https://github.com/iwache/MonoTouch.TidyManaged
and wanted to use them in this project.