Allow C.Provision to be called with a filename. The existing behaviour (...

C.Provision can now optionally take filename (instead of profile ID). See commit message for reasons why this is useful. Also, fix for embedded provision not being updated when profile changes.