Added getopt_long for parsing cmdline options

+ -h or --help and -v or --version

Signed-off-by: Alexander Kluth <derhartmut@niwohlos.org>
Signed-off-by: Max Reitz <xanclic@niwohlos.org>