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.