Pause drawing when not visible

Even when a page was in the background and paused contentDraw() was
still called, e.g. caused by animated gifs or javascript updates.
This could cause congestion on the WebViewCoreThread when background
pages were updated frequently.

Now contentDraw() will not be called as long as WebViewCore is
paused, and contentDraw() will be called on resume. This also has
the the side-effect of suspending the GIF animation loop.

Change-Id: I268e53f0bc5912afe745122eda2270f4fc0bd21c
Merge "Pause drawing when not visible" into jb-mr1