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
Merge pull request #1359 from qznc/more-coverage

Unittesting uriLength and emailLength