A Generalized Distributed Analysis and Control Synthesis Approach for Networked Systems with Arbitrary Interconnections