added ios 5.0 suport
Merge branch 'master' into dev-ipad-compatibility

Conflicts:
	agent.xcodeproj/project.xcworkspace/xcuserdata/p.korolev.xcuserdatad/UserInterfaceState.xcuserstate