Do we need a decentralized method for hosting code that wont be affected by dcma takedowns,
would be interesting if something like bittorrent could be used utilized
They're called mirrors... in different countries. With different laws and jurisdictions.
Seriously, this is not a hard problem to solve. See what the VLC people do. People are like "omg it's like DeCSS again" but that STILL isn't usually hosted in the USA, so it's not as much "again" as it is that in the USA this problem hasn't gone away.