Dsh config file parser for general use, split out from dsh sources
