Implement include_recursive config directive.

Fixes #5238