rewritten to some extend. Added start_transaction(), end_transaction() and num_rows()


git-svn-id: svn://oss.beweb.dbc.dk/sync_php/php/OpenLibrary/class_lib/trunk@75712 30e9dc4a-7611-4fbc-83ba-eecf79b76bd0