Improve duplication method

Instead of iterating through all attributes we might as well duplicate the DataAttributeValues for a specific record. This makes duplication way faster.

Important:
The column avID (table: DataAttributeValues) cannot be UNIQUE. Therefore I've updated the db.xml and updated the package version.

I've moved the logic from the controller to the model, which is better practice imo.