fixed SynMustache logic - for instance inverted sections did not work as expected - now the code is much easier to follow and maintain (thanks Titou for the report)