Fix issue with Insight URLs in mandrill emails

The application_url used in the template was not being set before rendering
the insights fragment.

Also added test that the a url containing the host/?u= is in the insights
param sent to mandrill.
Merge pull request #1791 from cdmoyer/1787-Invalid-URLs-in-Insigh-via-Mandrill

Fix issue with Insight URLs in mandrill emails, closes #1787
Update WebTestOfUpgradeDatabase
* Correctly use freshly-downloaded ThinkUp zip archives
Fix up TestOfStreamDataMySQLDAO
* Correct ALTER TABLE auto_increment usage
Serialize Insight->related_data on update
Facebook Plugin: Explicitly set redirect_uri in getLoginUrl call
Extend Insight API

* Add support for multiple milestones
* Add support for an action button
Improve InsightDAO API

* Add support for header_image in getInsight, insertInsight, and
updateInsight
* Add support for empty text field
InsightDAO API: throw exception if serialized related_data exceeds MySQL text field length
Disable Hello ThinkUp insight; temporarily disable link prompt
Send insight notification emails in owner-specific timezone
Closes #1792, closes #1790
Version 2.0-beta.10