Add internal function to perform a fast-forward merge

* src/git2r_merge.c (git2r_fast_forward_merge): Add function to
  perform a fast-forward merge.

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>