YiiGraphs update

Graphs code rewritten. It is now using its own table for the graphs
instead of using the RRDtool fields.