break definition parameters into multiple lines
extract params and node attributes into local variables
check mongodb_type first
bring local variables into a new_resource object
update chef used for test-kitchen