add AgaviArrayPathDefinition::flatten() method
closes #959