A few but important bugfixes and checks in CP plugin.
A few more checks.
And even more checks.
Added (much needed) specs for all loading/setup logic in CP plugin.
Test helpers.
Added specs for exceptions.send and plugin base.
Pending specs for conf/gui.
Logging and spec fixes.