Auto delete closing character literal

Fixes #1001600
Auto delete closing string literal

Fixes #1001583
deletion of unnecessary method
Merge pull request #354 from sschaef/issue/auto-closing-literals

Issue/auto closing literals