Settings: Forward port Performance settings

Change-Id: Ib510b35fc2763c6942737afa33873aa5d349a173

Conflicts:
	AndroidManifest.xml
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/settings_headers.xml
Settings: Forward port Change behavior when back pressed in PerformanceSettings

When back key pressed, finish this activity if user does NOT accept 'Ok'
in warning dialog rather than show it.
Id: Ied763db4f76a3a2a36f134bd93a0f18047c6cf5c

Change-Id: I07d41d43d00e4fb42ad526d27ee9188d830906ea
Performance: BootReceiver: set CPU min/max freqs before CPU governor

When setting certain combinations of CPU governor/freqs on boot , the
max frequency needs to be changed first in order for some settings to
work correctly.

Example: changing from a default governor of ondemand and frequency
of 1GHz to interactive governor and 1.2GHz frequency , hispeed_freq
will get stuck at 1GHz unless the max frequency is set prior to the
governor.

Change-Id: I302739893470ec0fa27197c122ebed4795347d61
Adding configurability of frequency cap (min/max) files' path.

This way those devices that have a special path for
frequency caps can overlay it in the given device's
resources for Settings package.
It's defaulting to the general paths that are used
in most of the kernels.
It's usable for example in endeavoru device tree
where the max cap can only be set through
a different sys path.

Change-Id: Ic3113222580ebe8cc8e43d3dad7a15e041448c53

Conflicts:
	res/values/config.xml