Fixed logic for PostMySQLDAO::doesUserHavePostsWithFaveLikes/RetweetSinceDate()
Handle return URLs to plugins with no hash

If a plugin is activated, the javascript will select that div
unless a hash is provided (such as #instances or #ttusers)

Closes #1780, closes #1782
Send Insight emails as HTML via Mandrill

Retains old behavior for ThinkUp installs without Mandrill configured.

Closes #1779, closes #1781

Handle missing template for mailHTMLViaMandrill

Explicitly catch Mandrill_Unknown_Template and rethrow when sending.
In InsightsGenerator email process, revert to non-templated mail in this case.
Throw other errors as was currently handled.
Add support in the isTest() mode to triggere exceptions.

Added Insights Generator Configuration to Docs
[DB MIGRATION REQ'D] Redesign insights model and insert interface
More renaming insight->prefix to insight->headline
Documentation fix
Update generatedistribution script

* Accomodate new upcoming release SQL
* Delete hellothinkupinsight.php from user distribution
[ci skip]
Add missing migration rollback comment
[ci skip]
Remove #manage_plugin from service redirect URI
Adjust TestOfPostAPIController for wider range of MySQL server setups
Get Mailer from: host name from variety of sources depending on server configuration
Version 2.0-beta.9
Update changelog date and distribution script [ci skip]
Don't error_log about the non-existent Redis server
Add API call support to Utils::getSiteRootPathFromFileSystem
Support ThinkUp LLC redirects
Add Logout endpoint to Session API