Added an xml-like input parser

I'm hoping I can build an equivalently concise C++ DSL,
but this sure is useful for tests and documentation.