Add OS X version check to readPlist()

Add function to get the current version of OS X to allow appropriate
determination of which methods to use to extract the XML plist for a
given plist_path.