lexan: bring over lexical analyzer from dunnart

Signed-off-by: peter@localhost.localdomain
lexan: implement injectable lexical analyser

Signed-off-by: peter@localhost.localdomain