Add string formatting support for longlong and mpz.
Fix truncation problem when using longlong implementation.
Merge pull request #447 from dhylands/str-format-mpz

Add string formatting support for longlong and mpz.