appop: reimplement OP_RECORD_AUDIO op check in mediaserver

Obtain the real package name for the calling app from the packagemanager binder and
link to client registry. Also block only openRecord and createEffect (which are the
methods used to record audio), and ignore the createTrack that is used also by
legacy audio apps and isn't related to audio recording.

Change-Id: Iedd6022fab1efab47a29da7bd07e922dcdeb294c
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "appop: reimplement OP_RECORD_AUDIO op check in mediaserver" into cm-11.0
camera: add new option to include camera parameters

All info can be seen here: http://forum.xda-developers.com/android/help/dev-mod-to-add-extra-camera-parameters-t2814578

Change-Id: I6eb8d43b5e73058f671f4a9129d8353e0f3c7d04