fix doctype and charset in BasicView and WebResponse classes