Parser Bug Fixes

- Rewrote `ParserInline.prototype.parse()` for more
  correctness.

- `ParserBase.prototype.lookAheadType()` now properly
  checks the parameter type with the token's type.

- Properly guard `ParserBase.prototype.shiftUntil()`
  from index going out of bound.