Added arbitrary string support to detectTextDirectionality.

Enyo-DCO-1.1-Signed-off-by: Blake Stephens <blake.stephens@lge.com>
Improved the logic of detectTextDirectionality, allowing for obscure edge cases to be supported as expected.

Enyo-DCO-1.1-Signed-off-by: Blake Stephens <blake.stephens@lge.com>
BHV-14938: Update comment.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>
Merge pull request #863 from enyojs/BHV-14938-blakestephens

BHV-14938: Added arbitrary string support to detectTextDirectionality

Looks good!

Reviewed-by: Aaron Tam (aaron.tam@lge.com)