Added destroy() method and unit tests

Also fixed link support and updated `data-options` settings