preserve branch ordering in conversion to csv
preserve branch ordering in TreeBuffer and update test_csv.txt
Merge pull request #254 from ndawe/master

MRG: preserve branch ordering in conversion to csv and in TreeBuffer