Increment web_download_count instead of download_count
The API file download URL is distinct from the web URL
Track API download counts in the API download action
API downloads redirect directly to a tarball
The SegmentIO agent keeps track of the last event tracked
Test that the API downloads are tracked in SegmentIO
Test that web downloads are tracked in SegmentIO
Encapsulate aggregate download statistics
Compute a cookbook version's download count in-memory
Compute a cookbook's download count in-memory
Order cookbooks by their segmented download counts
Remove the now-unused download_count columns
Adjust the bottom margin for tab dds.

This fixes the style issue where a border-bottom was still displayed on active
tabs.
Remove rake spec:javascipts from Travis CI config.

At this point in time, Travis CI takes about 15 minutes to run the entire test
suite. Travis CI is running the JavaScript specs, which requires installing a
bunch of NPM packages. The thing is we only have one JavaScript spec for the
alert message to disappear. Removing the rake spec:javascripts script from
Travis CI runs should improve the time it takes to complete. While this is not
ideal once/if more JS is added to the app, I think for now it is a little win
that helps.
Merge pull request #392 from opscode/fix_active_tab_style

Adjust the bottom margin for tab dds.
Merge pull request #393 from opscode/segment-downloads-by-api-and-web

Segment downloads by API and web
Only use Poltergeist to drive features when needed

When writing feature specs, the Rack::Test driver is used by default. If the
Poltergeist driver is required to be used, add the +use_poltergeist: true+
metadata to the spec.

This should improve the performance when running feature specs. It should
decrease the opportunities of Capybara timing out when Travis CI runs specs.

Note: because of this switch, it is required to be more specific about elements
that occur multiple times on a page. For example, this may require using within
blocks.
Merge pull request #397 from opscode/adjust_feature_spec_driver

Only use Poltergeist to drive features when needed
Add and configure the sitemap_generator gem.

Supermarket needs a sitemap, and the sitemap_generator gem generates sitemaps.
This commit does not include the setup and configuration of a job to refresh the
sitemap.
Create Sidetiq worker to refresh sitemap daily.

Using the sitemap_generator gem, the Sidetiq worker refreshes the sitemap daily
at midnight and pings the search engines.