[lib][keyserver] Move user and version validators to lib
Summary:
issue: ENG-7818
Move output validators to lib
Test Plan: flow
Reviewers: kamil, tomek, bartek
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D11945