Backport "Option to use volume keys to control media volume anytime" from CM10.1

Originally author: Pawit Pornkitprasan
Backported from CM10.1 by: Daveee10