User URI.encode instead of CGI::escape to compose URIs

Closes #134
Add username regexp matching

Closes #134
Merge pull request #137 from hackatron/feature/fix-user-link

Use URI.encode instead of CGI::escape to compose URIs and username validation