Modify create_qt() to assert that scoremax can be None

This patch allows scoremax to be a None type, as qtemplates in the DB with a scoremax of NULL cause an AssertionError when they hit this assert. This fixes copying of questions to a new topic.