New source of cpu information (#617)
New source of cpu information (#617)

* Added new source of cpu information

Starting with kernel 4.13 /proc/cpuinfo only show the basic clock of the
processor not the current frequency. Change adds information from
/sys/devices/system/cpu , considering online and offline cpu's.

* PEP8 fixes

* Fix cpus_online_range

drwahl/i3pystatus,Arvedui/i3pystatus,enkore/i3pystatus,enkore/i3pystatus,fmarchenko/i3pystatus,teto/i3pystatus,fmarchenko/i3pystatus,drwahl/i3pystatus,teto/i3pystatus,facetoe/i3pystatus,facetoe/i3pystatus,Arvedui/i3pystatus