Fixed caching issue

The page templates were cached per namepsace so if you try to create more
pages in a row you always would try to create the first page again and
again because the template links point to the first page which was cached

Change-Id: I9f76360d15cb7214295e6aa6f1e894d478c95832
Merge "Fixed caching issue"