screenrecorder: check for supported video encoder resolutions.

-Only supported video encoder resolutions will be displayed. Video
encoder support is outlined in /etc/media_profiles.xml and
/etc/media_codecs.xml

-In my testing selecting and unsupported resolution causes screen-
recorder to fail. If the devices encoder resolutions are not in the static list
(such as 480p 480x720) there is no way to set the correct resolution. This fixes
those issues.

-More info on Media Encoders: https://source.android.com/devices/media.html

Change-Id: I13b32b8f10655a5cf13ae55ae56eeb4de69ae68e
Settings: Statusbar reflect am/pm and Clock Color
Frameworks Part https://github.com/DarkCyanogenMod/android_frameworks_base/commit/ec897007b62ed89ae161f1e43b98cc22dbaa3deb