Redmine#3279: allow slists to be passed to mergedata() and acceptance test it