HdmiManager: Update to version 3.3

* Add override method for setDisplaySize -> setDisplaySize(String resolution)
* Create getResolutionPosition() method that returns the absolute position
    for the requested resolution
* Adjust min scaling frequency when setting display position
* Properly handle HDMI state changes (plugged/unplugged)
* if userResolution is not available, default to resolution provided by
      getResolution() instead of 720p

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

* Write the correct information to the correct place

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Hdmi: Set display size for AV resolutions to 1280x720

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Move all Hdmi plug/unplug out of SystemUI

* Let WindowManager handle it
* Tie in HdmiManager API call (updatePlugState(boolean plug))

* TODO: Get working on boot with AV and display position not @ 100%

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
HdmiManager 3.4: Add documentation to new methods

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
PowerMenu: Implement our own method of shutdown

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Actually set the position when requested

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Tie HdmiManager into WindowManagerService

* Don't let the silly Amlogic code ruin the party
* Pull the hdmi hw state from PWM and update the plug state using our API

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