Check for article edit permissions

During the standard submit/commit process used by both
api and page action's for writes check Title::userCan
for permission.

Bug: 60218
Change-Id: Ic331595ddc1014657e9582b657b0351044ae327d
(cherry picked from commit fc500dc7c476fed3fa42b53fa4088de5ac64fa3f)
update branch to wmf/1.23wmf11

Change-Id: If69af13afca893a29c64211d4fc549b773028e9f
Merge "update branch to wmf/1.23wmf11"