LegacyUSB: Add support for legacy USB implementations

Rebased for JB 4.2

 This is the 2nd commit message:

LegacyUSB: add overlay for UMS lun and use existence of lun to enable legacy USB

Ported to JB 4.2

 This is the 2nd commit message:

UsbService: LegacyUSB initialize mDeviceManager sooner

 This is the 2nd commit message:

LegacyUsb: fix broadcasts

W/ContextImpl(  424): Calling a method in the system process without a qualified user:

Change-Id: Ibe718dd8e1a3064e5fe289ffd2232522245138ac

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
Add option for switching between UMS and MTP/PTP mode. (1/2)

Change-Id: I8e692d468cb36ccc97ca69b8a2eb11afeb711eae

This adds support for switching between UMS and MTP/PTP.
Framework part (this part) will only enable UMS if the config setting is set.
Standard is to enable UMS if the primary volume supports UMS.

It's only porting this http://review.cyanogenmod.org/#/c/21117/
Allow USB notification to show when primary SD allows UMS and MTP

Previously if primary SD is set to allowMassStorage="true" the USB
dialog would never show.  This checks if persist.sys.usb.config is
set to mtp,adb and then allows the USB notification to show. With
this you can then have the option to select from MTP, PTP and Mass
storage when clicking the pull down notification. When Mass Storage
is selected it activates the USB connected dialog to turn on USB
storage. When set back to MTP the USB connected notification disappears.

Change-Id: I2287075ec93cae75f19e8fb59965d9dddb234aca