Add globalSchema
Replace default model schema with the global schema.
Allow IDs to be Number, String, or ID.
Schema types will now accept { type: [Array] } format.
Fix for type encoding with several types on a rule.
Fix type-o
Fix bug were encoding types where type is not registered.
Merge pull request #43 from Battlefy/feature/global-schema

Feature/global schema & Number and String Ids