Weak framework support

**N.B. this requires the changes in my pull-request for imhotep/node-xcode**

* support for weakly linked frameworks for iOS
* minor fix for some failing tests