io: Move IArgParser to `core`
core: Update IArgParser interface

Simplified it, now it works in the same spirit as IHDFParser.