commit from F4k's kernel source to add undervolt & gov

Change-Id: I039ee26ec157caef8e61ddb44ee827fe442c5f09
cpufreq: Fix broken uevents for cpufreq governor and cpu devices

cyanogens uevent commit when the governor changes was rendered
non-working since kitkat (or so) as the uevent filter function
caused events to be dropped. Now hook into cpufreq_core_init()
and cpufreq_add_dev_interface() to create our basic ksets for
cpufreq and cpu devices. Also, we don't need to set environmental
data, so clean it up a bit.

This commit requires a change in ueventd.rc that add rules for
several files of interest.

Change-Id: I3aafa0d4e18363e1d68535f513099ecd27024007
Makefile: add support for gcc 4.9.x

Conflicts:
	Makefile

Change-Id: Ia4260eeae78e67ee3fdea66835ab91611d69147b