Add urlencode of db name

Database names like test-0ea7dc82592910cb7bcc9f2212e069de-2012-10-01T02:43:32+00:00
were causing db not found errors.
Merge pull request #8 from ReeseSys/master

Add urlencode of db name in links