Adds an internal API to retrieve the webpage object from a window object
WIP on issue #41: implementation of onNavigationRequested

It needs some additionnal work...