Support for various targets (e.g. docker container)

I added support for various containers (see examples). I also rewrote configuration code to support .js files in addition to .json files for ability to define functions, configuration directory pattern, and use of plain "foo='bar';" style of configuration.