Install Tags pages for all sites

We now couple tags pages to a site_id.
This commit also contains some extract method refactorings
to improve the readability of the installer