Updated maintenance scripts for vcl & api

* vcl no longer needs to handle '*' in the zero id
* api now supports querying and paging

Change-Id: I9b0aac8b9b3ba7b21b2c464c167189bee84666dc