fixed processing of long options with equal sign

How to test:
:Pandoc! pdf --template=SOME_TMPL --smart

not fixed code will claim that option --template must not have an
argument

Fix for issue #20 is also added here
Merge pull request #21 from lyokha/master

fixed processing of long options with equal sign