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).
Well, we still should not consciously break them.

I was asking for a possible solution regarding how to detect such barclamps and what should the 'applied' icon tell, when someone installs that barclamp and 'applies' a proposal - that was my question in https://github.com/crowbar/barclamp-crowbar/pull/1068#discussion_r14081613. But @vuntz already suggested a possible approach over the IRC.