Tidy installation pages and use PDO to test database connectivity