rework TOOLDIR into PANLEXDIR and SERIALIZEDIR
use environment variables instead of .panlexrc
first pass at writing plx tool