Add connection failure recovery for the MongoDB

Conflicts:
	libraries/mongodb.rb
Fix tabs
Merge branch 'replicaset_support_connection_recovery'

Conflicts:
	libraries/mongodb.rb
Fix upstart issues
aws-sdk should be installed using chef_gem