Moves get_from_date() to new Util model.

The same code was being used in UserFeed, PostFeed, and get-tags-trending. This consolidates it, and changes the interface of Tag::get_trending() to accept day, week, month, or all, instead of an SQL timestamp.