Add optional_properties and allow_other_properties arguments to s.Record

also add documentation
More jsdoc documentation
Added example/comparison between json-schema and jsoSchema