Fix memory leak when creating SkBitmapProcShader

A SkShader is ref counted, but the first but unref() was
never called for the local reference in
PlatformGraphicsContextSkia::drawBitmapPattern().

Change-Id: Ia1936d62f052f9440ef0316cc642b0aebd79cfe1
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