Use n['foo'] instead of n.foo to support chef-solo.
Use a method for Chef::Node#name and Chef::Node#chef_environment, not a attribute.
adding support for alternate databag for users
Merge pull request #152 from hnakamur/support-chef-solo

[COOK-2721] Use n['foo'] instead of n.foo to support chef-solo.
Merge branch 'COOK-3111' of git://github.com/lusis/nagios into lusis-COOK-3111

Conflicts:
	README.md