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.
Merge pull request #17 from wjthomas9/master

Add option data attribute to options