Use db function for hotness.
Merge pull request #46 from askaway/use-ranking-function-from-db-for-hotness

Use db function for hotness.