engine: simple custom properties util

Allows to validate custom properties, against
a provided regex map.
Using this class a dynamic custom properties validation can be done.

Signed-off-by: Gilad Chaplik <gchaplik@redhat.com>
Change-Id: I4116f92333f6224aac7071b5ef0aa057c75d7fd7