Updated Powernets Refactoring

Updated version of the powernets refactoring, with the correct cables connection methods 
(the RFC was merged before i updated the code...).

I'll update the wiki, _if needed_, with the new cables connection handling and such.