Added static function to produce json from a list of ErrorMessages.
Created DBBeanInterface and associated it with BeanBase generated class code.
Created DBBeanHTMLViewInterface and associated it with BeanHTMLViewBase generated class code.
Changed the static toJson function to return the result of its computation instead of modifying a StringBuilder.