Adds more cli parameters and fixes windows tests

This will fix test cases to work on windows (different path separator, different behaviour for running binaries, CRLF, etc..).

Also adds two additional commandline parameters, for defining the appPort and the generated binary filename.