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.
Merge pull request #2 from jdesrosiers/fix-normalize-schema

Fix normali[sz]eSchema when schema is an array