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
Simply flush the queue of events when opening the window
Fix tests
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
Simplify data exchanged for incoming conversations
removed duplicated test
Fix conversation collisions
Merge pull request #371 from n1k0/payload-validation

Payload message data validation
Merge pull request #374 from tOkeshu/fix-conversation-opening

Fix conversation opening