p() and print_unescaped() also take arrays as parameter

This fixes some scrutinizer issues.
Merge pull request #8188 from owncloud/print-does-also-take-ar

p() and print_unescaped() also take arrays as parameter