Cleanup Table.iterateLayout by having while (true) with condition checking at the end.
Also fixes the bug that was causing axes not to render properly in the Gridlines quicktest.
Fix typo in axis.ts that was causing top-aligned x-axes to fail
Add a unit test for Table._requestedSpace