fix ngForm: implement what @Matsko suggested

use $animate.setClass in form.$setPristine to just use one animation
use $animate.addClass in form.$setSubmitted

Closes #8056