Additional fields for count widget
Persist trend widget configuration parameters
Fixed NPE in dashboard
support more than one count result to support trend widget
Merge branch 'trend_widget'