Backport usb gadget stuff from msm-3.0 kernel

Change-Id: Ie67ba39fd53303599d9d96a428f386dc50089cb0
update