Replace jison with custom parser

Adapted almost straight from webkit's parser.

Runs a lot faster and uses less CPU than jison.

Also clean up jison dependencies.