Refactored SqlitePDO::isAvailable

This prevents errors when PDO constants aren’t available. This solves #178 while still allowing a default value to be set.