conform to c99 to compile

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Added a delegate method to remove item from folder

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>