Rebase with updates

Brings cookbook in line with upstream master and rebased with improvements. Added code from https://github.com/edelight/chef-mongodb/pull/91 in order to fix replicaset initiate failures for more than 2 nodes.