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.
If you run filter here and then reduce the result, you don't need that intermediate array above.
Look at `searchPackages` instead.