Fix simplates with no tests.

Finish the removal of `gittip.db` global for pages that have no tests.
It the previous commits I've searched only for 'gittip.db' pattern
and not for 'from gittip import db'. Fixes #1737.