Update for compatibility with Swift in Xcode 6 beta 5

 - Remove @infix and @assignment from operator functions
 - Optionals no longer conform to BooleanType; use == nil instead