Update Chart.js with interactive feature and add table column sorting

Updated Charts.js to newer version with interactive features and some
other minor changes.
@bjarnef Seems this sort stuff is common to each controller. As to prevent repeating code in each controller you have updated, maybe we can create an Angular resource/service to deal with sorting so that we only have one place to update the sorting code/logic.