Fix RegEx
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
Clean up php notices

As it is written, this library emits a bunch of php notices when php is
running at higher error reporting levels.  This update cleans up those
warnings.  It is very straight forward, except for determining trust of
`id`s (schema-store.php line 156).  I refactored the trust check to use
a regular expression.  I added several test cases to verify the refactor
didn't break anything.
Merge pull request #1 from jdesrosiers/fix-notices

Clean up PHP notices
Merge pull request #1 from geraintluff/master

Update from source fork