ShaderCore: Basic global vardef parser.

Separate Parser functionality into Lexer and Parser to make code a lot
more cleaner.
ShaderCore: Function prototype parsing.