[Fix #1283] Fix bug concerning indentation in PercentLiteralDelimiters

Indentation for the line containing the closing bracket was added
inside the new closing bracket. Which was wrong. We must find the
indentation of the closing bracket itself (if it begins its line).
Merge pull request #1311 from jonas054/1283_fix_PercentLiteralDelimiters_autocorrect

[Fix #1283] Fix bug concerning indentation in PercentLiteralDelimiters