Added keyboard shortcuts to bold and italicise text

Should close #68.

Let me know if anything needs to be changed.
Is this the best way to check if the selection is blank? I think variables prefixed with $ are meant to be private to Ace.