XD-916:Changed file source to support contents or file reference

The file source produces file contents as bytes by default. It will produce a File object referencing the file if --ref=true
It will translate the contents to a String if --outputType=text/plain   (or text/plain;charset=<charset name>).  This also fixes a bug in StreamTestSupport in which SingleNodeMainServer.stop() is never called.