Add saplo-listCollections function

The API is currently disabled, but useful for debugging. Prints out the
collections we have registered in the saplo database.