Implement repository.reset, with tests

This patch makes the function git_reset from libgit available to python repository class:
repository.reset(oid, reset_type)
Includes three tests to test the different types of git reset modes (hard, soft, mixed)