Updated to Swift 1.0, Xcode 6 GM

Made some changes because it did build in Xcode 6 GM.