Add merge method for S4 class git_repository signature

* R/merge.r: Enable merge using the name of the branch to merge into
  HEAD. Add merge example

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
Add more merge test cases

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