Fixes #5701 - Repairs widget links and JS
Refs #5701 - Moved widget type to 'data-type' attribute instead of 'id'
Refs #5701 - Changed data-type to data-elgg-widhet-type, dropped elgg-widget-type class
Merge pull request #5702 from Srokap/ticket_5701

Fixes #5701 - Repairs widget links and JS