m7-common: set amplifier configs based on audio mode

Depends on: http://review.cyanogenmod.org/#/c/38256/

Change-Id: Icadd71698144c120dbb26282da4e138a4d8a07d1
Merge "m7-common: set amplifier configs based on audio mode" into cm-10.1
m7: libaudioamp: set amp mode on device change

Change-Id: I29fb5658c2e2ea6f53942d82f8e837860e3f1725
Merge pull request #19 from CyanogenMod/cm-10.1

Cm 10.1