Improve mapping for more functions.

I moved the module definition to its own file because I think it's more convenient.
Probably shouldn't still be excluding any of these ... but if you're going to stop excluding some stuff for ``git_commit_lookup*``, might as well not exclude the other ``git_commit_*`` functions.