Style form error list.

Style the form error list, clear the errors array properly (rather than
creating a new array.)  Clear any existing error messages before appending
new ones.  Hide error list div when empty.