#1126 Trend controller

* Added Trend model
* Added Trend API controller
* Added basic CRUD tests