Hazard curve parser updates/corrections

1. Correctly parse logic tree path info from a given file. This was completely missing.
2. Adjust the interface of each datum produced by the parser so that it matches the corresponding hazard curve writer.
3. Add a test which chains a parser and a writer together and checks multiple types of files. The final output should be equivalent to that of the input.