For ios8 detection check for version 8

This helps for testing in the simulator and future proofing
As the Xcode6 simulator puts OSX version rather than IOS version

Change-Id: Iad7f6dd5f1ba3fa0491332c317d5a58fac14325c
Merge "For ios8 detection check for version 8"