Refactor setReadPreference so that we don't have to reimplement this 4 times.
Fixed PHP 483: Implemented MongoCursor::setReadPreference/getReadPreference
Merged pull request #264