#1017 Trend master

* Added TrendMaster singleton
* Incrementally store trend counts
* Stream updated trends to client
* Fork analytics from main process
* Added trend API controller pagination