PERL: mkinput: Add "answer" directive and other command line options

Added "prefix"-like directive: options. Improved output prettiness.