URI: Don't barf on empty scheme
Improve URI tests and fix uncovered bugs
Merge pull request #119 from eile/master

URI improvements