Build.prop Mods: Do some prereq's before showing options

-Settings for phones will not be shown for non-phones.

-Devices without a proximity sensor will not be shown options
for proximity.

-Devices that have phone capabilities and a proximity sensor should
see no change.

Change-Id: I5590c1c65ec3f375b1b4e089799e7350b8918f70
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