Fix issue with embedded document 'url' property changing

When the apiLinks middleware sets the baseUrl and apiBaseUrl
properties on req.collection.schema it only affected the results
for the current collection. This changes it to loop through all the
popolo schemas and set the base urls for each one.