Only build framework schemes

Fixes #124, #143. Tested with the unit test fixture and also the `Cartfile` described in the original issue.

/cc @0xced
You could replace this `switch` with `return type == .Framework`.