Merge mongo_connection_ismaster & mongo_connection_get_server_flags
Fixed PHP-578: No need to call ismaster 2times
Update tests after PHP-578

The log tests show less rountrips, and slight reorder of data gathering.
The ping test needs to target the is_ping command, not everything
and the getConnections() now actually shows last time we ran ismaster
Merge pull request #508 from bjori/PHP-578-dont-call-ismaster-twice

Php 578 dont call ismaster twice

* bjori/PHP-578-dont-call-ismaster-twice:
  Update tests after PHP-578
  Fixed PHP-578: No need to call ismaster 2times
  Merge mongo_connection_ismaster & mongo_connection_get_server_flags