dummyserver.js: add "mimeType" argument to output function
change API - add "inputType" and "outputType" options, change types of "output" argument and "input" option