Add the Directory type and the OpenDir function to get an open Directory and a Close function to close/free it. Signed-off-by: John Mulligan <jmulligan@redhat.com>