Stop using generator and return a list
Stop using generator and return a list

_get_properties() does not need to be a generator (returned list is
short) and the whall list will be used each time.

Also add a parameter to be able to use the old lists of properties (it
is also possible to add a forced property) and make each property
unique in the list by using a set to avoid duplicate parameters.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt