Fixed bug in compilation of 'logical' attributes

allOf, anyOf, and not keywords were not getting properly compiled
Also added better error reporting, which was helpful in the trouble
shooting.

There may be more attributes that should be tested in is_schema.