Add a framework similar to what we have for gtk reftests that lets us drop in a function to generate render nodes, and compare reference output.