Install macros for plugin API calls

This neatens the code and makes the plugin API calls more obvious.
Add and remove plugin extension

Accept plugin names with or without .so extension and store internal name without.
Clean up plugin loader logging