Remove; change; feature

* Merge similar GUI method pairs into templates
* Remove some static methods from BApplication
* Remove some template methods from BApplication and BAbstractSettingsTab
* Add BAbstractCodeEditorDocument::clear method
* Move setBlockComment method from BCodeEdit