adding mongo replica_primary check
Merge pull request #9 from needle-cookbooks/add-check-primary

Adding mongo replica_primary check