Fix segmentation fault with ambiguous arguments The command line parser accessed invalid memory when a given option matched several option definitions as a prefix, but none of them exactly (e.g. "--s" as option with "--sam" and "--samfrac" as option definitions). This was due to an incorrect check of exact matching that tried to access "opt[i].name" with i being greater than the upper bound of the array "opt" in case of not having an exact match. Replaced it with the proper check.
add local directory to Perl lib search path '.' was removed from Perl's default @INC by https://bugs.debian.org/588017, breaking the testsuite here. This patch reintroduces the current directory explicitly.