Set heat every 10 seconds

Instead of trying to find the post heat every time the hot page is hit,
calculate post heat every ten seconds and save it to the database.
Make setHeat use strict mode
Merge pull request #107 from christianbundy/master

Set heat every 10 seconds