Added method when to facilitate extraction of time

* R/when.r (when): Added generic method when to facilitate extraction
  of the time slot as a character vector from the S4 classes
  git_commit, git_signature, git_tag and git_time.

* tests/when.R: Test cases to test method when

* man/when-methods.Rd: Added

* Updated NAMESPACE and DESCRIPTION