Repository.xs: Added cherry_pick() and revert()