unl/UNL_MediaHub — pull request #231 by mfairchild365 (2014-12-17 22:41:59+00:00)
Title: Make popular media more dynamic

This PR:

* Creates a `media_views` table to track the number of views and dates of each view
* Adds a `popular_play_count` column in addition to `play_count` to the `media` table.
* `popular_play_count` will track the number of views in the last month
* Adds a script to maintain the `media_views` table `popular_play_count` column via cron
* Replaces the latest media band with popular media
* Uses the `popular_play_count` when sorting by popular (should provide a more up-to-date and dynamic experience)
* Removes old popular code