Added config parameters to control randomisation of questions and answers in preview.

Added config parameters to control randomisation of questions and
answers in preview.