First version of LFE scripting support

This is just the basics, the script runner is just an sh script. But
we do have some rudimentary documentation.