core: Create implementation of IArgParser

I'm not very happy with it, but it works.
It works by the same principle as IHDFParser: it only extracts objects from
stream, and user decides what to do with them.