Add a unit test for plugin loading from external directories.
Allow new plugins to be loaded after manager has started.
Fix external plugin loading unit test.