Using a stricter check to see if Python was installed as a framework. Also, because of the recurring problems with non-framework Pythons, importing the Mac OS X backend will now fail (instead of just issuing a warning) if Python is not installed as a framework.
Merge pull request #1613 from mdehoon/fix-for-framework-check

Using a stricter check to see if Python was installed as a framework.