Add Branch Merging

Make merge a seperate api call after voting occurs. Only merge if
sum of vote weights >= 1. Modify voter weight up the roots.