MUSE crowded field 3D spectroscopy of over 12 000 stars in the globular cluster NGC 6397. II. Probing the internal dynamics and the presence of a central black hole