Add fork function in bitbucket/repository module

I added fork function in bitbucket/repository/Repository module. Also added tests/private/repository/fork_test function.