MISC: don't use Error.captureStackTrace, it works only on V8.
MISC: ensure files in lib/ are updated when running grunt test / build.
PARSER, CORE: pass arguments.length instead of arguments for arity checks, else
it doesn't work in CodeCombat.