Add with_merged lookup plugin.

This new loop plugin allows the user to provide a list of arrays that will be merged in order from most general to most specific.