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
Improve openConversationWith to not require an additional filter step to find the right element
Merge pull request #376 from Standard8/open-conversation-with-test-improve

Improve the openConversationWith test helper
Simplify data exchanged for incoming conversations
removed duplicated test
Fix conversation collisions