Add weight parameter to metadata_processors

Processors having more weight will be run first, default weight is 0.

This is EXPERIMENTAL (and untested), tell me what you think about this approach. Imho it allows much more than just having a priority boolean, as any weight is allowed.