DB aggregation for downloads stats

- fix api prefix (needs leading slash)

- add package_1_version_1 index on downloads
check that specified package and version exist

- responds with 404 otherwise
Merge pull request #1 from MartinNowak/packagestats

DB aggregation for downloads stats