Fix #606
Fix schema "required" keyword cannot handle duplicated keys
Fix #608
Fix regex crash
Due to dereferencing a pointer which may be invalidated
Improve coverage to 100%
Fix #594
Fix VC warnings