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

This branch was created to resolve in more safer way merge conflicts.
can we extract this information (host,port,ssl,user,pass, etc) to a config file. and the test just reads from that file.
(This way, we can easily just keep four config files (for ssl, non-ssl, auth-enabled, etc), and just run the test with a different config file, instead of modifying the source for different test types).