hiera: allow regex-based searches

This will allow us to put most host-specific definitions in one
single, simple file.

Change-Id: I74ce2e5d942eb1d46d043128d25b7ad45acb3908
Signed-off-by: Giuseppe Lavagetto <glavagetto@wikimedia.org>