Fundamental Magnetohydrodyamics Of Core-Collapse Supernovae And Proto-Magnetar Winds