BootReceiver: Lock orientation to landscape

* We are using TVs after all

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

Conflicts:
	packages/SystemUI/src/com/android/systemui/BootReceiver.java
Auto adjust HDMI output to best available on boot

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

Conflicts:
	packages/SystemUI/src/com/android/systemui/BootReceiver.java
Add HDMIManager APIs

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

Conflicts:
	api/current.txt
	core/java/android/app/ContextImpl.java
	core/java/android/content/Context.java
SystemUI: Use HDMIManager APIs now

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>

Conflicts:
	packages/SystemUI/src/com/android/systemui/BootReceiver.java
HdmiManager: Expose getPosition()

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
HdmiManager: Expose sysfs paths and props

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Create Settings.db values for HDMI settings values

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
HdmiManager: hdmiPlugged() changes

* Introduce Settings.Secure values for user selected resolution and auto adjust of resolution
* If auto adjust is enabled, set output mode with best possible resolution
* If auto adjust is disabled, try to set the user selected resolution from Settings/Wizard and
      fall back to 720p if that fails

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
HdmiManager: v2.0

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>