This is step one of creating a common library for 'for-each-ref',
'branch -l' and 'tag -l'. This creates a header file with the
functions and data structures that ref-filter will provide.
We move the data structures created in for-each-ref to this header
file.
Mentored-by: Christian Couder <redacted> Mentored-by: Matthieu Moy <redacted> Signed-off-by: Karthik Nayak <redacted> Reviewed-by: Matthieu Moy <redacted> Signed-off-by: Junio C Hamano <redacted>