Issue #3: Add version option
Remove unnecessary variable
Fix problem when non-existent option was specified
Merge pull request #5 from kobo/issue/3

Issue #3: Add version option