Issue 595 cache stats

Cache more views in order to have a faster response.

This pull request caches the following pages:
* Home Page for one hour
* Stats Page for one day
* App index page for one hour
* App Stats page for one day