Memory leak test case
Fix some memory leaks in test cases
Lexer grammar using synpreds
Fix order of evaluating conditions having synpreds in them

- significant performance improvement
Merge branch 'master' into fixes

Conflicts:
	runtime/Cpp/tests/Makefile