make inspector bar disappear with the attributed string module

* add an (optional) procotol that plugins can implement
* use it to hide the inspector bar in NSAttributedStringViewController