Libraries query update

Since some new columns were added to the `libraries` table, the query needs an update. Instead of selecting `opening_hours`, we now select the `new_opening` column.

We also add a reference to the affiliated or the parent library (`see`, `see_also`).

Note: The latest dump of the union_catalogue needs to be imported first on the dev instance before merging.