Dynamics of 3-forms in seven dimensions