[etherpad] Handle format-buttons in a more generic way + italic-button

This adds an button for *italic* formatting to the etherpad-demo, and also changes the way button-clicks are handled. Each button how has a `data-attr`-attribute whose value represents the attribute set in the document ( `bold` or `italic`).