Use K/V parser for handling PT LOG and STATUS messages

Nick wrote a K/V string parser that is currently available in master. Let's make use of that for handling PT LOG and STATUS messages from PT processes' stdout.