Merge VictorySquare branch to yoyobbi.

Want to get everyone's latest changes, which Mervill has nicely merged already, then add the unit tests that I've had trouble with, for numeric range and precision.

(Mervill, if this accidentally turns into a request to merge from my fork to yours, please ignore, github newb here!)