Adds a partial rewrite of the train-merge-jmri script in python.