Fixed containsTable()
Added existsDatabase(), overriding containsTable so it checks whether
the database exists or not