Add support for the Page Visibility API
Merge pull request #583 from Satzmedia/pagevisibility

Add support for the Page Visibility API

Reviewed-By: Ben Combee (ben.combee@lge.com)