Refs #421. Added tests for showing improper heading outdention behavior.
Refs #421. Added a check to prevent outdenting when the heading level is higher than the following heading level.
Refs #421. Updated comment.
Merge pull request #421 from FriedRice/issue_421

Fixes #421. Fix outdenting in structured headings plugin so that it will not let you create an invalid heading structure