Added as.tdm.Corpus and as.dtm.Corpus to fix and close #188.

Moved weight out as its own separate generic.
Redid staticdocs page