Major bug fix

Removed some orphaned calls to db_close() that were causing issues with
several admin pages.

Also actually enabled PDO support checking/enabling.