new feature in order to force a value to be set

Hi

I refactorized the assert method to a more generic one, and from there added a *set* assertion in addition to the *count* one. The *set* assertion will invalidate config files where a looked-for parameter is set to an unwanted value, and set the value if the looked-for parameter is not set.