Add back RepoApi.{get,post} for compatibility

Change-Id: Ie5fdf4beeb4178a3439a4ec91915b29640e2a99d
(cherry picked from commit d8a554f17c2dc9c51c963d734ab35acb7d11e615)
Merge "Add back RepoApi.{get,post} for compatibility" into wmf/1.25wmf1