[WIP] Make nested braces and brace ranges work

This pull request should resolve editorconfig/editorconfig#81

The main problem is that nested expansion of `*` and other things don't work inside braces.
Consider renaming to is_in_bracket for consistency with c code