Added method to coerce repository commits to data.frame

* R/repository.r (setAs): Coerce the commits to a data.frame