Add test using maplist for dynamic inputs

Ref Redmine:3315
Merge pull request #1599 from nickanderson/redmine/3315-maplist

Add test using maplist for dynamic inputs
Redmine#3442: added staged test in 10_files/templating/staging/array_expansion.cf