Metadata persistence in HDFS and MySQL

Partially implements the issue https://github.com/telefonicaid/fiware-connectors/issues/41

100% tests passed
Manual tests passed
Fixed in https://github.com/telefonicaid/fiware-connectors/commit/f7fb26458e34df1d6820cb701ff5549a741b7e38