Added security login for HDFSCodeDistributor so it would work with secure and non secure HDFS.
Removed couple of TODOs from BitTorrentCodeDistributor.