Update for Swift 1.1 (Xcode 6.1)
- conform to the new ArrayLiteralConvertible interface
- replace hasValue with comparison to nil