refactor NewPage class
refactor NewPage class

* remove redundancy by changing base class
  to EditPage
* fix publish method (it was waiting for
  the incorrect page to load after publish)
* move import of ArticlePage within method
  to avoid circular imports

safwanrahman/kuma,escattone/kuma,Elchi3/kuma,yfdyh000/kuma,a2sheppy/kuma,yfdyh000/kuma,escattone/kuma,mozilla/kuma,a2sheppy/kuma,a2sheppy/kuma,SphinxKnight/kuma,escattone/kuma,jwhitlock/kuma,safwanrahman/kuma,SphinxKnight/kuma,mozilla/kuma,SphinxKnight/kuma,mozilla/kuma,yfdyh000/kuma,SphinxKnight/kuma,mozilla/kuma,jwhitlock/kuma,safwanrahman/kuma,Elchi3/kuma,a2sheppy/kuma,mozilla/kuma,safwanrahman/kuma,safwanrahman/kuma,jwhitlock/kuma,SphinxKnight/kuma,jwhitlock/kuma,Elchi3/kuma,SphinxKnight/kuma,safwanrahman/kuma,yfdyh000/kuma,Elchi3/kuma,a2sheppy/kuma,yfdyh000/kuma,jwhitlock/kuma,yfdyh000/kuma,Elchi3/kuma