1. Moved common templates used in dashboard to core repo (webroot/views/...

...contrail-common.view)

2. Added “clickFn” under “chartOptions” while calling initiScatterChart, which will be called once a node is clicked in scatter chart.
3. Moved getDownNodeCnt,sortInfraAlerts and sortNodesByColor are moved to dashboard-utils.js under object “dashboardUtils”.