Changed framework install path to @rpath, other changes to project file

This modernizes the way the framework can be linked to, and it solves a problem with the test_arm target that I somehow messed up last time.