Changed the way the instance usage is calculated.
In order to get a more precise usage of the instances we switched to using the 'cpu_util' measures provided by gnocchi instead of simply looking at the 'started_at' and 'ended_at' dates. Besides providing more granularity to the usage, using this metric also allows taking into consideration periods of time when the instance wasn't powered on.