[Add] metadata refactoring
[Fixed] some compilation errors, WIP
[Fixed] compilation errors and tests
[Change] Metadata api for get/put value
[Change] rewritten Java part of c3-search
[Change] resource metadata deserialization method