Fixed building with SDK 6.1 in Xcode 4.6.

Added missing import, resolved issue when DEPRECATED_MSG_ATTRIBUTE is
not defined.
Fixed clearing text from views with traits.

`clearTextFromViewWithAccessibilityLabel:traits:` was ignoring the
input traits when calling
`enterText:intoViewWithAccessibilityLabel:traits:expectedResults:`,
which could result in the wrong view being tapped.