Improve robustness of JS, e.g. handling html entities properly on form submission, and correctly dealing with stripping of HTML tags on comment form. Fixed a bug which prevented submission of the comment form, and one where InternalExceptions were being thrown incorrectly.
Insert concept of a field sanitizer into the db layer (currently only allowing for stripping of HTML tags)