Fix timing bug in Mongodb replicaset configuration

Since start_server() and restart_server() do not actually verify whether the
port is open and receiving connections (even though mongo starts up,
pre-alloc/other setup takes a few minutes), the replicaset recipe was failing to
establish a connection with the db.  The change to the initd file waits for the
port to be open before proceeding, ensuring that the replicaset recipe will
work.

Fixes #17
add in keyfile support
take user and group from node attributes, have changes be in the default templates
include?'s equality test is not reliable for Chef::Node objects
mongodb.default template missing scientific support
Merge pull request #90 from untoldone/patch-1

Update definitions/mongodb.rb
made package version configurable
Added support for disabling automatic configuration of replica sets and sharing.
Merge pull request #101 from organicveggie/disable_auto_config

Disable automatic replica set and shard configuration
specify cookbook name in definition
Set open file limit for MongoDB process in Debian/Ubuntu to 64000

- See http://docs.mongodb.org/manual/reference/ulimit/
- Fixes error: "Too many open files"
Fixing link to Sharding + Replication wiki page
adding support for chef_gem wihch is available for newer versions of chef
Added all MongoDB recommended ulimit settings as default attributes
Merge pull request #105 from jusbrasil/master

Fix link to "Sharing + Replication" on wiki page
add minimal tests. Fixes #114

Using test-kichen and BATS, this verifies that a run list of
["recipe[mongodb::10gen_repo]","recipe[mongodb::default]"] correctly
starts the mongodb service on Ubuntu 10.04, 12.04 and CentOS 5.9, 6.4.
remove mongodb dir. Fixes #113
Merge pull request #116 from josephholsten/rm-mongodb-dir

remove mongodb dir. closes #113
Merge pull request #115 from josephholsten/tk

add minimal test-kitchen support with BATS.
Now apt must be ~> 1.4.4
Closes #45 removing duplicate apt-get update