reinstate exported hostgroups and timeperiods collection

Signed-off-by: Dave Simons <dave@inuits.eu>