Detecte the real max number among the pages and use it + 1 to generate the new name.
Fix permanent display of error "An error has occurred during update of item" when we create a new page.
Merge pull request #147 from MatCottet/page_creation

Fix page creation