Refactoring the URL system, reduces the usage of globals, and no longer swallows all exceptions. Closes #232. @yaauie @arnebrasseur
Clean up trailing whitespace
removed dead test
Merge pull request #248 from shoes/refactor_url

Refactoring the URL system. Huge thanks to @plexus.