Revert "Revert "New hooks for media.py""

This reverts commit a3b66238e775adeca2a5b7657decc476689a9793.
Revert "Revert "Caches fortune and only gives out one per day""

This reverts commit 37369045e0b3a79671d58f1e20544ae216676194.