Add Page Visibility support to Drowser.

For more info see http://www.w3.org/TR/page-visibility/#dom-document-visibilitystate

Reviewed by: Luciano Wolf