[ALOY-961] added support for AttributedString

JIRA https://jira.appcelerator.org/browse/ALOY-961