Migrate to Carthage 0.5

This involves the restructuring for Carthage 0.4, and moving stuff into `Cartfile.private` for 0.5.