Fix InsightsGenerator test for PHP5.2

testBothSendSetting and testWeeklySendSetting updated to properly reference
constances by class name, not instance.
Merge pull request #1778 from cdmoyer/Fix-tests-of-insightsgenerator

Fix InsightsGenerator test for PHP5.2
[DB MIGRATION REQ'D] Add Photo support
With contributions from @nilakshdas, @aaronkalair, @ginatrapani
[DB MIGRATION REQ'D] Add permalink to posts table
Add support for sending HTML email via Mandrill templates
Added Mailer::mailHTMLViaMandrillTemplate

Sends via mandrill.
Passes in parameters as merge_vars
Closes #1772, closes #1777
Insight name/description copy tweaks