Set device category for MIDI controllers.
Fix some usability issues in the controller preferences page. Bug #1304964

* Use a tab widget instead of a toolbox.
* Move troubleshooting link to the support link list.
* Move MIDI learn button to controller info header.
* Add more edit triggers to the input/output mapping tables.