Fix #337
Refactor selection handling, take out drag/drop handling
Fix #351
Set version & add profiles button added, fix up delete versiondialog
Link to existing detail pages
Enable deleting profiles too