engine: Replace return type of ReplacementUtils

To ease usability of ReplacementUtils.replaceWith* return value,
it is changed from a static array into a Collection.

Change-Id: If0733f3bb5fec70896a685452125c67d1f14784f
Signed-off-by: Moti Asayag <masayag@redhat.com>