Primitive text direction feature detector

v.1.1 of text direction feature detector :)
As Section has a defined set of keys, I suggest replacing dictionary with collections.namedtuple.