added brace folding support for django and tornado modes
addresses #90 #91