added equivalents for mysql_num_fields and mysql_free_result
Merge pull request #1 from swiffer/master

added equivalents for mysql_num_fields and mysql_free_result