renamed survey.rb variable to allow creation of surveys (previously returned errors)
Merge pull request #16 from adibsaad/survey-fix

renamed Survey#_type to Survey#type to fix creation issue