remove unneeded check against NULL pointer before delete()

delete(argument) does nothing if argument is NULL
refactoring
ingnore Makefile.in
testing: winbuild tests run and pass now

function "parsecmd_getopts" does nothing critical anymore.
It just sets pointers to the commandline arguments.
No more need for wordexp.h for testing.

Its now possible to set line limit to '1', but only if parameter -H is not set.
parsecmd: use stringstream instead of strtulong

This method is more clean.
Converting command line parameters and checking parameters are two steps now.
removed code related to str2ulong
issue #8: crash on missing input file

It was not enough to check on minimum one command line parameter.
Given any valid option it passes this check, and tries to access a
nonexisting argument.
issue #9: crash if inputfile name length is less than 4 chars
code formatting done by IDE