Modify DataBag.list for chef-solo.

This is needed for the nagios cookbook at
http://community.opscode.com/cookbooks/nagios
Could you review it?

I created a ticket for this pull request.
http://tickets.opscode.com/browse/CHEF-4070