Add initial front end handling of question threads

@andy-armstrong, please review
hurray removal of inline templates :100: