added dispose() method to Data interface. Implemented dispose() in test and chiptools plugins.