A Halo Merger Tree Generation and Evaluation Framework