Pkgdb: Avoid redirects to URL with trailing slash

/pkgdb/package/foo redirects to /pkgdb/package/foo/, therefore use the
final URL with trailing slash in links.
Merge pull request #92 from tyll/avoid-redirects

Pkgdb: Avoid redirects to URL with trailing slash