Add flash player detection back
Fixes #13
Make database update call update the media name as well
Make it possible to rename medias. Fixes #6