Added check for heading hierarchies

Check the hierarchy of all headlines in an editable. If the hierarchy is violated a class "heading-hierarchy-violated" is added to the heading. It is also checked if the hierarchy of a heading is lower or equal than the highest allowed hierarchy in the configuration.