Add a 'match' field and support regexp project matching

Signed-off-by: David Greaves <david.greaves@jolla.com>