PHP-475: Functional tests for read preference exceptions
Merge pull request #413
Fixed PHP-795: MongoCode segfaults when internal 'code' property is modified
Merged Pull Request #427

* pull-request/427:
  Fixed PHP-795: MongoCode segfaults when internal 'code' property is modified
Fixed PHP-780: Deprecate slaveOkay & timeout URI options