Add helper plugin-dir function

In reference to: #1072

Since plugins are sensibly named, this helper will check for the plugin on the filesystem and return you the path if it finds it.