Bug fixes and cleanup

Multiple fixes of doctype comments
Add some documentation to viewhelper
Fix documentation