Update API client insertion with version support

* Adds pagination and searching
* Adds multiple versions support
* Allows client search to be specified using middleware