Added package stats route with download count

The idea is that this should allow us to start adding badges to [shields.io](http://shields.io/).

This PR also leads the way towards adding more stats in the future.
I mean `getPackageDownloads` should have auto return a range instead of eagerly calling `array`.