Allow prioritiziation by matching against path

This is obviously not perfect, but it's a good start that gives us a foundation
to build on for more prioritiziation options in the future.  Let me know if
anything is missing or not up to par.



Could you add a comment here about the expected range and order? I.e. that 0 is the equivalent of not matching a pattern, that multiple matches add up, that higher values are synced before lower? (If this is the case... And if negative values are allowed, that they can be used to deprioritize files?)