Add fast-import mode.

This uses the git fast-import system to create a repo much faster than calling git many times.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>