helpers: make logs easier to read

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
boot: add a switch for reboot detector

Sometimes its usefull to deactive this feature. It becomes
very useful when flashing tons of kernels.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
cpu: cleanup UI after fragment switch

Just for a better UI experience.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
cpu: change governor specific menu into button

Before this patch the user had to change the governor to
see the governor specific parameters. If one just want to
change one tunable of the already set governor one has to
always set the governor again.
This changes this behaviour. I introduced a new action bar
button which gives the user the same functionality with one
less click.
Also fixing some bugs regarding permissions and increase
execution time by simple not sleeping that long.

setGovernor() is a generic method to set a governor for
all available cpus.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
helpers: remove deprecated code

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
pref: don't save values which don't exist

Its useless to save values like "Unavailable" in our
shared preferences.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
cpu: add missing action menu

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
profiles: almost finish profile fragment

 * Adding a option to rename profiles (onLongClick)

 * Adding option to display current profile values (onClick)

 * Make saveProfile() a little bit faster and also save new
   profile correctly.

 * Don't try to add profiles if there is no default profile.

 * Many cleanups and small fixes (e.g. don't save empty profiles)

 TODO: Make "apply" work by overwritting the default preference.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
profiles: add option to apply a profile

 * saveNewProfile() and applyProfile() are simple wrappers
   for saveProfile since they do basically the same

 * Once a new profile gets applied the old default one
   gets deleted and the new one takes the place.

 * This finishes the profile implementation, although many
   new things could be added, let users decide!

Signed-off-by: Blechd0se <alex.christ@hotmail.de>