moving linechart widget to backbone type setup

move all the js for the linewidget in to a js file including some
backbone stuff - so it follows the same patterns as the other widgets.
Also added convenience stuff to controller and widget service to easily
add these to the dashboard