Initial type docs
Add source
Fix corrections
Merge pull request #936 from jsantell/type-documentation

bug 860452: Type documentation; r=@wbamberg