fixes #3983 - add trends:clean rake task

Fixed target branch.
Old PR #157