Added OS X framework target, upgraded Mantle and AFNetworking, migrated code to latest Mantle JSON API

This turned out to be more work than expected, but the unit tests pass again after migrating everything, so I think things are good.