Abstract nestable into plugin using data attributes.

Closes #609 
:+1: this method now turns a hash of nestable options into html data attributes.