Metadata persistence in HDFS and MySQL

Partially implements the issue https://github.com/telefonicaid/fiware-connectors/issues/41

100% tests passed
Manual tests passed
I should move this to a new issue, and try to close this PR by adding agnostic code related to this functionality.