core: Create implementation of IArgParser

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