Updating the syntax validation code to check against different token names.
Updating the syntax validation code to check against different token names.

'{' can have several names, while '}' is always '}'. Therefore, the count does not balance when using template curlies {$something} or ${hello}.

git-svn-id: d0e296eae3c99886147898d36662a67893ae90b2@1051 653ae4dd-d31e-0410-96ef-6bf7bf53c507

dragonmantank/Habari,dragonmantank/Habari,dragonmantank/Habari