Initialize variable $pageExists; remove direct use of EditPage::$mTokenOk

Bug: 67522
Bug: 73028
Change-Id: I28ca9efa97fce26e25ec1c0ab19d70b7ee85ff4f