Add function to send completed surveys to the backend API.

Includes classes for Response and Survey objects.

This commit fixes issue #8
I'm trying to learn more about JS style and make these files consistent. Can you please use the following syntax instead:
function Survey(...) { }