Add wiring for stand-alone plugin with code based on the Gradle docs

Clearly not there, but this at least builds, tests and packages up properly
Add MIT license