AirPlay mirroring WIP.

Change-Id: I6f45b393afb2f9d438d4aa548e8149946741c928
Merge commit 'refs/changes/49/50449/5' of http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base into HEAD