getQuestions and getSolutions stack functional/lightly tested

This code is functional, but may not be robust and up to style/design standards. Will merge now to facilitate further front-end dev. Back-end team will improve this code in the coming days.