Adjustments to rich text block

* Add 'code' tag to format menu
* Add a CSS class property to all block types

(related to ticket 1576)