Use d3 more for svg layout creation

Still custom layout function but use fancy d3 instead of endless
&setAttribute nonsense
Scale text and rectangles to fit

And set vertical align again, not sure where it went
Fully d3 transitionify move1

Great, nearly done ;_;
Implement move 2 with animations
Fix some movement bugs

Can't make classes act nicely though ;_;