Adapt main function to allow running plugin tests via console command
Adapt main function to allow running plugin tests via console command

The -t|--test option now runs the plugin unit tests instead of the bot
itself. Or at least it will, as soon as the test-running-part is implemented.

howard/p1tr-tng,howard/p1tr-tng