Slugs now work again when creating Pages.

Fixes issue #2469.
Merge pull request #2470 from donaldallen/feature/PageSlugs

Slugs now work again when creating Pages.