Check the content and the length of certain input data and MySQL database and table names

Fixes issue https://github.com/telefonicaid/fiware-connectors/issues/114
Fixed in https://github.com/telefonicaid/fiware-connectors/commit/b25f2e3b4b5a297429d6b9205658b7cdde974635