fixes handling of ['@type'] arrays

See issue: https://github.com/mcollina/levelgraph-jsonld/issues/19
create mocha test
ratatat.json is a stripped down version of the actual json-ld file, but
ensuring the @type array's are equal is the important part
Merge pull request #21 from ameensol/type/array

fixes handling of objects with array in @type