Added logic for Survey and SurveyRecord.
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

rhyolight/nupic.son,rhyolight/nupic.son,rhyolight/nupic.son