Allow for the indention and outdention of multiple selected headings at once in the structured headings plugin

In the structured headings plugin currently, if a user selects multiple headings at once and uses the indent or outdent tool, the tool will only be applied to the last heading in the selection. Fix this so that the tool applies to every heading in the selection if allowable.