Admin mode: admin can delete a media entry

Squashed commit of the following:

commit 0b07a370bd239da9501988186d66440412bd86c1
Author: Michał Podlecki <m.podlecki@op.pl>
Date:   Tue Oct 7 11:12:27 2014 +0200
Export: correct type indications for smaller file versions