Modernize and enable by default RenderLayer::STRICT_STATE_MACHINE

This enables the asserts that we don't query compositingState from
RenderLayer when compositingState is not up to date. For now it
just asserts that we're past InPreLayout and adds a bunch of 
disables to codepaths that violate the asserts. 

In a followup patch, we'll need to make this assert more aggressive.

I removed the special-case in RenderLayer::updateLayerPositions.
That will come back when we make isAllowedToQueryCompositingState
more aggressive (i.e. when we assert we're in the LayoutClean state).

This is a first step in making sure we don't add new compositingState
read violations.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166968 bbb929c8-8fbe-4397-9dbb-9b2b20218538
If a compositing update is declared as needed, scheduleAnimation should be triggered.

This fixes some issues where deferred compositing on aura was
causing things to not be rendered because frames were not
being scheduled correctly.

BUG=336676

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

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