Trim comma separated list of trigger projects

This will fix the problem I described here:
http://goo.gl/lYcNPa

where it is not possible to manually trigger projects that are listed with spaces around the commas.