gem cli bug fixes, additions to client reg apis

Change-Id: Id8e53cafe9c69e15f7946c82a3c4e147c47d6ce8
Merge "gem cli bug fixes, additions to client reg apis" into 1.0.0.p6