Fix options parsing in snacc

The crashes in the parsing logic has been reported by The Mayhem Team
at http://www.forallsecure.com/bug-reports/6f5f79ad3f80cffe072b7133a3b8224d1b18d2b5
Fix printing version information in berdecode

The crashes in the printing logic has been reported by The Mayhem Team
at http://www.forallsecure.com/bug-reports/6f5f79ad3f80cffe072b7133a3b8224d1b18d2b5
Merge pull request #2 from rbalint/mayhem-crashes

Mayhem crashes