Support for rotation of text the thead and tfoot

Added support for rotation of text the thead and tfoot. Can be used when rendering tables where the content is small but titles are large texts. The text is now rotated 90deg by default.