Fixes #7934 - Set correct order of require_dependency
fixes #7372 - API v2 - accept PUT/POST requests with wrapped root node to add/remove has_many associations of child nodes