add function for Ubuntu 12.04 and fix graph type

 * `lxc-cgroup -n $guest_name tasks` gives error on Ubuntu 12.04
 * location of 'tasks' sysfs file depends on which cgroup package is installed
 * graph type should be 'GAUGE'