bug (plugins) fixing for invalid plugin syntax

When a plugin doesn't export a function, then skip trying to call
it all together.
Merge pull request #398 from doowb/bug-invalid-plugin

bug (plugins) fixing for invalid plugin syntax