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