Determin fold type by { char existence

Don't assume if it's a certain file type it will be folding on braces,
instead fold on braces if there's a brace char on that line
Determin fold type by { char existence

If we have a brace char on the line in question, we want to fold on
braces not tags
On change, if we have typed or just removed a } char, scan upwards to
find the previous { char
Then perform a refresh on all the lines in that range and redo the fold
type