Move downloads functionality into a manager class.
Expose downloads and favers when viewing a package's JSON.