Thurs night pull request

I worked on the logic to get new questions/new choices fields to appear when creating a survey. Got it to work for the most part. It would be better to use templates (like mustache) so I played around with that for a little while.