Filemeta json v11

Filestore/Filelog metadata output to JSON.

Worked on feedback given after a review from Victor. Hope all issues were addressed.
I fear that this will break on older libjansson's, see https://github.com/inliniac/suricata/blob/master/src/output-json.c#L338