Prop message validation

Jira-issue: WP-349
Bugfixing

Jira-issue: WP-349
Replaced old functions with checkByType function

Jira-issue: WP-349
Generic message validation jasmine test

Jira-issue: WP-349
Prop message validation jasmine test

Jira-issue: WP-349
deliveryNotification message validation jasmine test

Jira-issue: WP-349
JSONRPC messages validation jasmine test

Jira-issue: WP-349