Added logic for Survey and SurveyRecord.
The logic for the SurveyRecord will be seperated within the upcoming days.
Patch by: James Levy, Daniel Diniz, Lennard de Rijk
Reviewed by: Lennard de Rijk
class GenericViewError(Exception): """A problem in a generic view.""" pass