Fixes exception when accesing reuqest.current_page within apphook view.
Merge pull request #1892 from czpython/apphook_patch_1

Fixes exception when accesing request.current_page within apphook view.