Minor changes to UI Custom Alerts, refs #1486
reusing helper method to transform idSites in an array of id sites
Merge branch 'master' of https://github.com/piwik/plugin-CustomAlerts

Conflicts:
	API.php
	Model.php