Merge pull request #22 from DIdiHL/mia

added a base class for audio recording, modified CaptureSetting
implemented DeviceFactory and CommManager and modified the way we use intent between the two mock apps
Merge branch 'development' of https://github.com/DIdiHL/plugin_android_library into chenxi

Conflicts:
	PluginAndroidLibrary/plugin_android_library/src/main/java/com/sana/android/plugin/hardware/CaptureSetting.java
Merge pull request #23 from DIdiHL/chenxi

Chenxi
added usb accessory and host modes, and added the accessory portion into the
mockapp
Merge branch 'development' of https://github.com/DIdiHL/plugin_android_library into culaucon

Conflicts:
	.idea/misc.xml
	.idea/workspace.xml
	MockApp/app/src/main/AndroidManifest.xml
	MockApp/app/src/main/java/sana/com/plugin/mockApp/MockApp.java
	MockApp/app/src/main/res/layout/activity_mock_app.xml
	MockApp/app/src/main/res/values/strings.xml
	PluginAndroidLibrary/plugin_android_library/src/main/java/com/sana/android/plugin/hardware/UsbDevice.java
merged the mock app
added constructor and pause function into AudioRecordDevice