Re-enable 30 and 365 day insights for likes, faves and reshares

Added InsightBaselineDAO::doesInsightBaselineExistBefore and Implementation
Added "sharing" to InsightTerms.
Created test for favelikespike
Created test for retweetlikespike
Some refactoring of repeated code