Fix for issue 74 (sscanf bug when parsing a string contain a reserved character preceeded by %%)
+ added tests to cover the changes
Merge pull request #126 from pver/issue74

Fix sscanf issue#74