Unittesting uriLength and emailLength

Previously untested. Pushes code coverage from 57% to 79%.
Remove debug printfs from std/uri
Style fixes in std/uri

- indentation within blocks
- braces on their own lines