Allow concat to take non-array second parameters

Also improve and extend concat tests to lock down functionality
Merge pull request #222 from mfoo/fix/master/concat-primitives

Allow concat to take non-array second parameters