updating _.types interface: now expecting types in an array and accepts
a minArgsLength Number option
letting types.length >= args.length >= minArgsLength pass
importing type utils tests from the server-side repo
as type utils are now shared
-> extracting utils builder for test
_.type gets support for multiple types separated by a '|'