support pull request approval API.

fixes issue #21