Update JS that adds classes for modal form errors
Update JS that adds classes for modal form errors

The JS that processes json error messages for modal forms was not
searching for or adding the correct classes to the HTML for display
the errors. This patch updates the JS so that once processed the
HTML matches the HTML that is returned in the non-json response of
the form.

Change-Id: Ib5ef39d02194ec6c31d69f534831bb0d28e0884c
Closes-Bug: 1443428

redhat-openstack/horizon,noironetworks/horizon,wolverineav/horizon,BiznetGIO/horizon,BiznetGIO/horizon,sandvine/horizon,davidcusatis/horizon,redhat-cip/horizon,django-leonardo/horizon,philoniare/horizon,NeCTAR-RC/horizon,Mirantis/mos-horizon,django-leonardo/horizon,wolverineav/horizon,redhat-cip/horizon,davidcusatis/horizon,coreycb/horizon,bigswitch/horizon,saydulk/horizon,BiznetGIO/horizon,gerrive/horizon,Tesora/tesora-horizon,openstack/horizon,bac/horizon,dan1/horizon-x509,NeCTAR-RC/horizon,davidcusatis/horizon,coreycb/horizon,maestro-hybrid-cloud/horizon,bac/horizon,NeCTAR-RC/horizon,idjaw/horizon,maestro-hybrid-cloud/horizon,maestro-hybrid-cloud/horizon,noironetworks/horizon,saydulk/horizon,anthonydillon/horizon,dan1/horizon-x509,idjaw/horizon,noironetworks/horizon,sandvine/horizon,gerrive/horizon,sandvine/horizon,NeCTAR-RC/horizon,openstack/horizon,bigswitch/horizon,bac/horizon,maestro-hybrid-cloud/horizon,yeming233/horizon,openstack/horizon,ChameleonCloud/horizon,ChameleonCloud/horizon,bigswitch/horizon,davidcusatis/horizon,idjaw/horizon,redhat-openstack/horizon,yeming233/horizon,gerrive/horizon,redhat-cip/horizon,yeming233/horizon,saydulk/horizon,anthonydillon/horizon,openstack/horizon,redhat-openstack/horizon,yeming233/horizon,bigswitch/horizon,ChameleonCloud/horizon,Tesora/tesora-horizon,redhat-cip/horizon,coreycb/horizon,redhat-openstack/horizon,Mirantis/mos-horizon,Tesora/tesora-horizon,dan1/horizon-x509,Tesora/tesora-horizon,django-leonardo/horizon,Mirantis/mos-horizon,anthonydillon/horizon,wolverineav/horizon,ChameleonCloud/horizon,philoniare/horizon,noironetworks/horizon,gerrive/horizon,Mirantis/mos-horizon,philoniare/horizon,django-leonardo/horizon,BiznetGIO/horizon,dan1/horizon-x509,idjaw/horizon,philoniare/horizon,bac/horizon,sandvine/horizon,saydulk/horizon,wolverineav/horizon,anthonydillon/horizon,coreycb/horizon