Follows the procedure defined in the csvw model:
locate_metadata(filename, metadata)
csvw metadata list
a path for a csv table or a json metadata document
optional user metadata
Metadata supplied by the user
Metadata referenced by a link header
Metadata located through default paths
Metadata embedded in the file
We extend this to use the derive_metadata function to inspect the table itself.