renamed Dependencies to Validator
moved Validator to its own module
removed underscore dependency from Validator
added support for payload data validation

this also removes the need of calling payload objects'
toJSON() method.
sync with master
namespaced Validator to validate
fixed an issue with worker loading scripts
fixed type checking for deserialized structures
fixed missing validate.js import in spa_setup.html
import validation script right from payload one
sync with master
updated Payload.define to bind the constructor directly, thx @tOkeshu
clearer Payload.define implementation
removed duplicated test
Merge pull request #371 from n1k0/payload-validation

Payload message data validation