Move GetRefLog into GitRevLoglist and add tests