Metadata persistence in HDFS and MySQL

Partially implements the issue https://github.com/telefonicaid/fiware-connectors/issues/41

100% tests passed
Manual tests passed
You have modified method signature, JavaDoc should be modified in sync.