Adding "getPageFactory" method to the elements, implementing IHtmlElement

Fixes #23