Multi-Region Approach to Free-Boundary 3 D Tokamak Equilibria and Resistive Wall Instabilities