Ensure URL for builds and tests is properly encoded (#35)

This fixes issue #35. 
That's weird, I tested before writing:
```
>>> import urllib2
>>> urllib2.quote("asdas asd asd asd ")
'asdas%20asd%20asd%20asd%20'
```