Fix issue 334, adding urlquote functionality
Clean up fix
Remove hasbang from tests file
Merge pull request #345 from citizen-stig/issue_344_unicode_url_primary_key

Fix issue #334, adding urlquote functionality