Refactorings in AutoCloseBracketStrategy

Since the old test suite is error prone, a new one is created. The new
test suite is able to compare full input and output and not only the change
events.

Furthermore AutoCloseBracketStrategy is renamed in BracketAutoEditStrategy
because the existing auto edit actions do not only close brackets.
Merge pull request #266 from sschaef/issue/auto-edit-strategy

Refactorings in AutoCloseBracketStrategy