Add function to send completed surveys to the backend API.

Includes classes for Response and Survey objects.

This commit fixes issue #8
again, maybe forgot to remove console.log line?