Make salt.states.target behave correctly with list of targets

References: #12730

/etc/aliases should now be listed as ```username: user@example.com, another_user@example.com``` instead of ```username: ['user@example.com', 'user2@example.com']```.

I also added some small changes to ```salt/tests/integration/modules/aliases.py``` so the tests will run.