OC-10186 XCTest does not work on iOS7.1,iOS8 device with Xcode 6

Minor refactoring. Added more verbose diagnostic messages.
+review CR-OC-1602
let KEEP_LINE_BREAKS be true by default in Dart as in all other langs, part of WEB-12567