Metadata persistence in HDFS and MySQL

Partially implements the issue https://github.com/telefonicaid/fiware-connectors/issues/41

100% tests passed
Manual tests passed
The `replaceAll(">[ ]*<", "><")` arcane is puzzling me... :) What is this for?