Only build framework schemes

Fixes #124, #143. Tested with the unit test fixture and also the `Cartfile` described in the original issue.

/cc @0xced
I'm not sure what you're asking. What I was describing applies just as much to expressions as to statements.