Ensure JSONEditor.Validator's ready is called properly when the ready ca...

...llback is supplied to the init constructor on the options object (not used internally); fix comment placement

Also applies JSHint to validator file (use bracket notation for reserved keywords but otherwise use dot notation where possible; add missing semicolons, rmv redundant var declaration)