Implemented new str conversions functions for uint-template.rs.

And fixed all errors resulting from changed function signatures.