Compatibility with OSX10.10

Hi. OSX 10.10 user agent string changed from a '_' to a '.'. Updated the OsDetector and tests to allow sub version to be detected.