Fix T41421

Don't store selection properties, if those are set in the keymap we can
end uo locking one state forever.
Fix T41454: Command "Dirty Vertex Colors" prompts Python error.
Merge http://git.blender.org/blender into bounty