Changed class from .error to .has-error

Fixed for bootstrap: http://getbootstrap.com/css/#forms-control-validation
Merge pull request #144 from kufi/patch-1

Changed class from .error to .has-error