parsley js: bootstrap validation

Parsley is a javascript form validation library. This snippets configures parsley for bootstrap input elements.

parsley options reference: http://parsleyjs.org/doc/annotated-source/defaults.html