Added add/remove Class Functions

To add/remove the has-error classes on formgroups - Bootstrap 3