General Axisymmetric Magnetohydrodynamic Flows: Theory and Solutions