OC-10737 Unit tests do not run on a iOS 7.0 device and Xcode 6.0

Signed deployed XCTest. Generalized codesign routines to use for both reveal library and
XCTect deployment. Minor refactoring.
external build: show meaningful error message if someone tries to compile a Maven project in standalone mode (IDEA-118060)