core: Render CustomPropertiesUtils usable by frontend

Removed usage of Pattern/Matcher and of StringUtils where it wasn't
necessary, as well as removed new generic instantiation syntax.

Change-Id: I7926222061b88325ea0df35e39ad40ec8cce235d
Signed-off-by: Lior Vernia <lvernia@redhat.com>