bug fixes and updates for sexml-objects

mostly about parsing sexml-objects from html files and templating, added cl-validations too