Added code to make GatewayQuiz store answers in past_answer database.

Note:  This means that the Answer Log page can now be used with gateway quizzes.
Merge pull request #156 from goehle/pastgate

Past Answers and Gateways