fixes #2869 - refactor method find_nested_obj into API::BaseController
added missing nested routes to config_templates
added find_required_nested_object and find_optional_nested_object