Enhancements to CargoplaneClient:
- connect function now returns an RxJs stream of events related to the connection.
- Events include notice of expiring credentials, so each application no longer needs to implement their own expiration tracking (issue #19) and detect resumption of suspended CPU.
- Documentation updated with details of the new connection events.
- Demos updated as examples of how to use the new events.
- Added Angular unit test documentation - Issue #16
Bug fixes in CargoplaneClient:
- Clear pending publishQueue upon disconnect
- Handle message processing failures - Issue #17
- Display message content as JSON, not array of integers.