Add rooms listing page

This required optimization of the SQL queries, reducing 3000(!) queries per page load to 3

SQL queries are now logged, to try and spot bottlenecks like this