url fixes

- add missing `quote` call in URLHandler (fails on space)
- handle github.com/user/repo/raw redirect just like raw.github.com