Added new event tm:duplicated when there is a duplicated tag
fixes #168 - constructor returns undefined
Merge pull request #172 from Asgaroth/master

Added event on duplicated tag, and fixed returning undefined from constructor