BNC#889444 Fix unsetting the applied proposal flag

On a fresh install, the proposals were marked as not having the latest
version applied. This was due to nodes being added to the proposal after
it was committed.

Keep the flag set when saving in add_role_to_instance_and_node.
Merge pull request #1109 from bkutil/fix_applied_props

BNC#889444 Fix unsetting the applied proposal flag