Add option data attribute to options

Added a data attribute to the options for javascript validation plugins like parsley.js, which hook to a data attribute.