Code cleanup
Topic editing: Use a textarea for occurrence values.
Fixed textarea values not being saved.
Added validation of XML or XHTML occurrence values before saving a topic.
Always validate topics and associations before saving them.
XTM Export: Default datatype to string.