Config subsection name should allow to have ']' and '\\' should allow to escape any characters
Add test case to test ']' and '\\' characters in config subsection
Add negative test cases for config header with invalid characters
Merge pull request #1882 from linquize/config-subsection-fix

Config subsection name should allow to have ']' and '\\' should allow to escape any characters