Changes for new MySQL schema

Schema has been changed to store API keys in the database so some code
changes were necessary.
New MySQL schema

This file contains basic information and an example MySQL schema that
can be used to test the server.
Credentials now fetched from MySQL
Version number update and input data change

Added device identifier to the input fields for event data.
Changelog update