move htmlpage to Page

so template can access htmlpage, it will allow some extractors
do things like creating DOM tree from template htmlpage.
Fixes #61
Merge pull request #62 from cyberplant/master

Fixes #61
Merge pull request #60 from tpeng/add-htmlpage-to-template

move htmlpage to Page
Solved conflict on merge
Merged master and fixed conflicts.