fix typo in exception class name
fix gmp dechex/hexdec

Explicitly specifying base-10 so leading zeroes don't imply octal.
Merge pull request #1 from scintill/master

Fix a typo and some small errors in gmp hexdec/dechex