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
sort config servers to mitigate MongoDB bug SERVER-5960
Replica set Reconfig action does not validate operation success
fix tabs
Fix mongos startup script, though only on RHEL family.
rhel init script should use pidfile for status and start
mongos does not support enable_rest.

Do not allow it to be applied, in case enable_rest is turned on for all
nodes or as a default attribute setting.
Add Recipe-Tester
Add new AMI
Try new ubuntu versions
Remove check if mongo gem needs to be added and just add it in the recipes

Running the gem install multiple times will not hurt anything.
Right now checking to see if the recipe is included is a bit backwards and causes issues if the cookbook is being wrapped.
Unless the cookbook is directly in the nodes run_list, it will not show up as included.
Remove check to see if the current recipe is loaded.

Yes, the current recipe is loaded, it's running the code.
whiitteeeeespppaaaccceeee
deal with case where another server in the replcation set is already
initiated, and connect to it for config because we don't have a local
config yet. however, still support if our current server is already initialized
Merge pull request #43 from danieltahara/ISSUE-17-FIX

Fix timing bug in Mongodb replicaset configuration
Merge pull request #144 from cpuguy83/master

Remove recipe checks for gem install, move gem install to a separate recipe
When setting up replicasets if a connection error occurs then display the exception why we could not connect to the mongodb.
Fixed error checking. Only errmsg should be checked for error. For example {"ok"=>1.0} is a successful result, but it triggered the error in the previous version.
Merge pull request #138 from nightw/master

Replicasets configuration fixes and some small small tweaks around error handling and displaying
Merge pull request #133 from astral303/no_enable_rest_for_mongos

mongos does not support enable_rest, so don't set --rest for it.