实现App事件，
H5页面可以使用Action.on(event, function(eventName, data) {})来注册App事件
eventName包含:
'deviceResignActive',
'deviceEnterBackground',
'deviceEnterForeground',
'deviceActive',
'deviceEnd'
no message
Merge branch 'master' of https://github.com/coocy/H5-Action

Conflicts:
	H5.xcodeproj/project.xcworkspace/xcuserdata/Alex.xcuserdatad/UserInterfaceState.xcuserstate
使用dispatch_async处理照片，避免阻塞UI主线程