Fixed: using iOS 6 compatibly attributes the underline color would be always black

The code that determines the color for underline and strikeout would only look at kCTForegroundColorAttributeName, but not consider NSForegroundColorAttributeName.

closes #297