Attempt a retry on with_secondary if there is a replica set reconfiguration.
Inspect auth failures to see if we should actually just retry.
Adds regression test for pull.
Add 11002 code.
Allow Session pool_timeout option

Fixes mongoid/mongoid#3790.
Fix reconfiguration exception thrown so retry works.
Merge pull request #317 from herimedia/allow-pool_timeout-option

Allow Session pool_timeout option
Add spaces
Merge branch 'jonhyman-feature/secondary-repl-set-master'

[#293]
Merge pull request #297 from jonhyman/feature/auth-reconfigure-2x

Inspect auth failures to see if we should actually just retry.
Merge branch 'master' of https://github.com/mongoid/moped

* 'master' of https://github.com/mongoid/moped:
  Add spaces
  Fix reconfiguration exception thrown so retry works.
  Allow Session pool_timeout option
  Add 11002 code.
  Adds regression test for pull.
  Inspect auth failures to see if we should actually just retry.
  Attempt a retry on with_secondary if there is a replica set reconfiguration.