Fix issues generating coverage reports on Xcode 5

- Provide a weak implementation of __gcov_flush() so we don't force everyone to use test coverage.
- Perform flush in common spec running function which is used by both test bundles and suites.
- Thanks to @nemesis and @PaulTaykalo for diagnosis and work on prior
  patches