Fix Issue97 (-R option)

The gap is now calculated in trafgen.c based on the rate and the block size.
Therefore, during parsing, -R does not depend on -U anymore.
-R option: Removed unneccessary 'o' type specifier

'-R s=#o' is only substitute for '-G s=g,C,#'
fixed wrong use of errno in error conditions after a call to a pthread function
Fixed several small bugs found by static code analysis
Merge pull request #100 from erzb5e6f65/fix_Issue97

Fix issue97
Merge branch 'master' into next
Merge pull request #102 from MarcelNehring/errnopthread

Fixed wrong use of errno in error conditions after a call to a pthread function
Merge pull request #103 from MarcelNehring/staticanalysis

static code analysis
Added new argparser files
Replaced option parser in daemon
Replaced option parser in flowgrind-stop
Added function ap_opt_string() to get the real option-string
Replaced option parser in flowgrind controller

Conflicts:

	src/flowgrind.c
Removed obsolete 'getopt' headers from header-checklist
Update .travis.yml
Merge pull request #106 from erzb5e6f65/next

Next
Update .travis.yml
Fix clang compile error
Fix clang compile warnings
Delete white spaces