Add list support in ipwrap() filter plugin

ipwrap() should now correctly add brackets to IPv6 addresses in lists,
leaving other values intact.