Support XCTest under Xcode 6 Beta 2
Apply FRAMEWORK_SEARCH_PATHS fixes to OSX targets and project file
Merge branch 'xcode6'

Fixes #543. Closes #540, #544.