perf.profiles: cores online when setting

If cores are not online when setting freqs or governors, the
settings will not work because the files in /sys/... do not
exist when offline.

Change-Id: I6273bcc8f648d7694de86a4c1857d0b6715eb668
Add stepcounter and stepdetector permission xml

Change-Id: Id9772422a7f44716a576e465e8558c4ca60139d7
Merge branch 'cm-11.0' into kk_mkt