Auto JSON stringify objects for connections in JS client
- Updated websockets & ajax send to encode message using connection.json if the message is anything other than a string
- Updated call sites in SignalR and samples that were manually JSON encoding to just pass the objects themselves
- #327
Addressed some review feedback
- Used typeof instead of $.type
- Explicitly handle undefined & null
- Added unit tests for all cases
- Updated functional test to cover undefined & null case
- #327