Add isFlatText() for performing remarkup flat text tests
Summary: Add a method which lets rules check if text is flat.
Auditors: btrahan