Support of different types of content

Now the content element now supports the type attribute and the content
is encoded accordingly:
 - text and html are escaped
 - xhtml is surrounded with a div and then included as XML
 - XML is directly included
 - base64 support was *not* added. Please file a bug if you need it
Fixed <published> attribute in Atom feed entries