$config_ref instead of saving config in $metadata

This also fixes a bug with metamonger saving non-default parameters that
are not configured to be saved.
Get both file and fs metadata from the start

Also rename them to make more sense.
Whitespace