Added the ability to create a new page by setting `action='newPage'`.

Could you leave out these irrelevant changes? I'm afraid you will have to do reset and force push again...