Trends

Contains list trends, create trend, delete trend, disable trend, trend-report click through, add report to incident, and a fix for the duplicate reports bug.

Known issues:

1. After enabling a trend, sparkline won't update until refresh. I'm not really sure what is causing this, but I'm wondering if it could possibly be a server side issue as we don't seem to be receiving any events. I haven't completely ruled it out as a client side issue but would appreciate a second opinion /cc @vkareh 

1. Sparkline does not get backfilled with data (issue filed in backlog)

1. When adding a report to an incident, the select2 dropdown isn't styled like other dropdowns around the site. I looked into changing the styles but didn't make much headway (that one is especially hard as the dropdown gets removed from the DOM when inactive, so I can't inspect it to figure out what CSS needs to change). It's perfectly functional, so I decided to leave it as is for now.
Aren't these date formats also defined elsewhere?