Added support for new page visibility api and new launch/relaunch events

Enyo-DCO-1.1-Signed-off-by: Jason Robitaille <jason.robitaille@lge.com>