backport usb gadget from msm-3.0 kernel

(From: konsta09@gmail.com)

KANGed from WaylandACE (thanks :))

Change-Id: Id7c6f829d4ceb892ea417aceb08eab5326276f1e