Make the tests during installation more complete

Essentially, this PR wants to make the tests during installation more complete, by adding the curl test, and moving mod_sqlite test in functions.php.