Use boost's ptree to parse templight xml

<mdb-stdin> has to be renamed, since templight doesn't
escape file names, and rapidxml chocked on the angle brackets

This improves speed, but has a bad hit in the memory usage
since rapidxml pulls the whole xml into the memory.

Either way, speed has to be further improved.