data_options tweaks

1. bugfix to allow data_options values containing colons
2. added tests for data_options function
3. modification to add parameter for a custom `data-options` attribute name