Moved the lexer and parser instances in separate lexer/parser singletons

This allows reusing the filter lexer/parser in tag parsing without
rebuiling the lexer/parser every time.
Merge pull request #28 from Markush2010/lexer-parser-singleton

Moved the lexer and parser instances in separate lexer/parser singletons