Added code to translate headset volume events into system volume events

Based on code from here:
http://stackoverflow.com/questions/11045814/emulate-media-key-press-on-mac

I had to change the hardcoded framework search paths to get it to compile, hopefully it didn't break compiling for everyone else