CAS-1241: Changed service type upon changes in service id/pattern
CAA-1241: added test case confirming change
CAS-1241: fixed issue where changing type from regex to ant would fail on regex-invalid patterns
Merge pull request #427 from Unicon/CAS-1241-1

CAS-1241: Changed service type upon changes in service id/pattern