Begin getting rid of the recursion in the various RenderObject methods

Begin getting rid of the recursion in the various RenderObject methods dealing
with layout.  Recursion is a common pattern found throughout the render tree and
used indiscriminately when a non-recursive pattern would work just as well and
the code is just as clean.

BUG=331879
R=esprehn, eseidel

Review URL: https://codereview.chromium.org/148473003

git-svn-id: svn://svn.chromium.org/blink/trunk@165892 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unreviewed gardening

Rebaselined a test that got forgotten after kouhei's change in r165834.
Also skipped a test that changed with the headless aura switch.

BUG=338544
TBR=gavinp@chromium.org,kouhei@chromium.org

Review URL: https://codereview.chromium.org/148273005

git-svn-id: svn://svn.chromium.org/blink/trunk@165893 bbb929c8-8fbe-4397-9dbb-9b2b20218538