Mark proposals as applied on commit

This is another attempt for a fix of
https://bugzilla.novell.com/show_bug.cgi?id=861309

The previous solution was based on comparing the crowbar-revision of
proposal and the corresponding role. However, these numbers can diverge
arbitrarily and the comparison would not work as expected, as was observed in
https://bugzilla.novell.com/show_bug.cgi?id=877486

This patch uses a dedicated 'committed' attribute, which defaults to
false. It is set to 'true' after a proposal is successfully committed and re-set back
to 'false' on any other operation.

If the PR and the attribute name is OK, I'll go through the barclamps and create PR's introducing such attribute to their schemas (the patches are already prepared).
I agree, although be aware that it actually does something different (i.e. does not enforce a boolean value). If in theory `options[:applied]` should always be boolean, if bugs creep in, the `!!` way would probably obscure that bug and the `||` is better.  OTOH if `options[:applied]` is allowed to be non-boolean, then forcing boolean via `!!` is probably better.