[CYB-3, CDAP-493] js ingest library with complete integration tests

This branch was created to resolve in more safer way merge conflicts.
send some events to the stream, call truncate, and then verify that 0 events are returned by cdap - in order to validate that this truncate call is actually truncating the stream.