Added more checkout test cases

* tests/checkout.R: Added test case to checkout tag. Added tests to
  check that checkout gives expected result when reading file.
Fix checkout tag

* src/git2r_checkout.c (git2r_checkout_tag): Fixed implementation of
  checkout of S4 class git_tag target