Updating script to v2.7

- OS version detection improved for Yosemite.
- Changed CFBundleShortVersionString injection for Yosemite.
- Changed CFBundleVersion injection for Yosemite.