Fix normalizeSchema when schema is an array

When the schema passed to normailzeSchema is an array of schemas, the
function recursively calls itself for each schema in the array.
However, it is passing the wrong parameters to the function.
Adding composer.json

For issue #3
Merge pull request #4 from jdesrosiers/add-composer

Adding composer.json
Merge pull request #2 from jdesrosiers/fix-normalize-schema

Fix normali[sz]eSchema when schema is an array