Fully implemented "Send scan data" button

Pressing "Send scan data" now correctly packages up the data into JSON
and sends it to the server via the web API.