Kpis

Adding js and html file for the kpis page, adding the necessary function in views, adding a few useful functions to common.js.

No rush.
why are all of these set to 0?