msm8660: Fix crash in Audio Policy Service

* HAL missing isStreamActiveRemotely causing crash
* Now routes to audio policy manager

Change-Id: I352f1a0bfe0c37a3f4520d66e24682a5f8e3e196
audio-caf: Trigger immediate doRouting() on setMode() change to normal

On call hangup, this normally happens as consequence of
a setParameter call shortly after the change of mode.
However, if a stream write occurs between the mode change
and setParameter, AudioStreamOutALSA::write calls route()
which then laters causes doRouting() not to deroute voice
properly.

By triggering an immediate doRouting() on a setMode change
to normal, we remove this window of opportunity for voice
derouting to fail.

Resolves calls with mute audio on jf.  This could
theoretically show up on other platforms if the
timing conditions are right.

Change-Id: I90e98596dcb42a0b4b164fc27790c39349ea777c
aacenc: Shut your facehole!

Change-Id: I962f6d99449868187d95b86c3a6672f098de5923
msm8660: add missing get_supported_devices in HW HAL

Change-Id: I1198bb8ca7c8c3c31eaf0af2a2e8a6761392bdd3
Merge "msm8660: Fix crash in Audio Policy Service" into cm-10.2
msm8660: use new API for devices

Change-Id: Icdebb576e0832e360a4de26e9af8cdcc9745e865
mm-audio: Make visible to all relevant chipsets

Change-Id: Iedc57cb60056e8af5b4d60c9f7cea50f16b2d9c3