Added schema API method to allow users to get survey questions
Updated survey generator code to validate fields
Whitespace tidying
Updated test certificate
Fixed duplicate response set bug
Fixed and improved generator tests