Sync methods with upstream gerritlib
Merge pull request #2 from eslng/devel

Sync methods with upstream gerritlib