Created a special mode and a special output function for DEGS

I have added a special degs mode triggered by the command line option '-d' or '--degs'.
If there is a parsing error and if xmds was launched in degs mode it calls a separate function that formats the error output for DEGS. It leaves the current implementation of the output unchanged and it leaves you free to modify the output format as you wish.

You can test it from my repo before accepting it if you want.