More functionality for ToXml type class

Added functions for reading optional tags as well as tags
for types with a default value and for Monoid types.