Fix for Chef 11

As per http://docs.opscode.com/breaking_changes_chef_11.html#node-run-state-replaced, `node.run_state[:seen_recipes].key("my_recipe")` was replaced with `run_context.loaded_recipe?("my_recipe")` for Chef 11