All predefined patterns added into grammar
grammar simplified
PREDEFINED token removed because of it's useless
template compilation speedup
small refactoring
speedup rollbacked to avoid exceptions
CUSTOM renamed to PATTERN
Syntax error test added