admin - work on KPI

collections can now be renamed, edited or deleted
more work on create graph.
more work on loading a graph (still not working).
updated highcharts
graph can be deleted from collection
started on graph add/update supporting update.
global fix for improperly scoped var

lots of for(index loops, which set index to global var. fixed.
admin kpi - more work