Fix all schemas so they're valid draft4 implementations

Include quick testing script to validate schemas and documents against
those schemas.