Added keyboard shortcuts to bold and italicise text

Should close #68.

Let me know if anything needs to be changed.
It looks like the selection object has an isEmpty() method: http://ace.c9.io/#nav=api&api=selection