Use the class space as the default space where to create documents.
Properly encode the query string and pass the document title when creating a new document based on a class template.
Add functional test for the default class sheet.