Updated licensing information and added references and licenses for dependencies to the NOTICE.txt file.