[DROID][JNI] Add method to query HW sample rate.
[DROID][AE] Don't guess at supported sampling rate

Android will resample to the "native" sample rate defined in firmware so
only use that rate.
URIUtils: fix out of range exception in resolvePath()
AE: only display setting for EAC3 if sink supports it
Added some vc_tv_* functions that were missing in DllBCM.
Moved private utility functions to end of file, and added declarations at the top.
Added private utility function to map a float display aspect, to the respective SDTV_ASPECT_* enum value.
Changed SDTV resolutions to be treated similarly to HDMI resolutions in SetNativeResolution. This means that the SDTV interface is powered up and set to the right mode.
Added methods SuspendVideoOutput() and ResumeVideoOutput() to CRBP class, which can be used to power down the Raspberry PI's video interface, and restore it at a later point.
PowerManager (and its IPowerSyscall instance) now gets called from CApplication::OnKey() and can process and suppress key presses. This is a requirement to implement a virtual sleep state.
Added CPowerSyscallVirtualSleep class, which acts as a base class for devices that have no native standby mode, and need to fake it in some way.
Added power management support for the Raspberry Pi. Since it doesn't support true standby, we fake it by turning video on or off, and ignoring remote inputs during the standby phase.
[power] hack - don't kill lirc
[power] hack - wake on any action
[power] hack - Make suspend toggle suspend state
[egl] Add a quirk to keep context when egl is destroyed
[power] Don't allow refresh adjust when suspended
[power] Add back in powerdown and reboot
[power] make actual power off disabled unless overridden

<poweroffhdmi>true</poweroffhdmi> in advancedsettings.xml will enable