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

This branch was created to resolve in more safer way merge conflicts.
Implemeted.