fix(deliveries): Fixed non-admin delivery management

- Arreglada la gestión de entregas para usuarios no administradores
fix(events): Fixed missing events when using subprofiles

- Arreglado el problema de los eventos que no aparecían al usar subperfiles.
chore(upload): Item management belongs to events now

WARNING: Existing database won't work unless the following SQL upgrade
script is executed.

- La gestión de ítems de entrega pertenece a los eventos ahora.

ADVERTENCIA: Las bases de datos existentes no funcionarán a menos que
se ejecute el siguiente script SQL de actualización:

```SQL
ALTER TABLE folder_profile_delivery_item RENAME TO event_profile_delivery_item;

ALTER TABLE  event_profile_delivery_item DROP FOREIGN KEY  event_profile_delivery_item_ibfk_2 ;

UPDATE event_profile_delivery_item SET folder_id=(SELECT id FROM event WHERE event.folder_id=event_profile_delivery_item.folder_id LIMIT 1);

ALTER TABLE  event_profile_delivery_item CHANGE  folder_id  event_id INT( 11 ) UNSIGNED NOT NULL;

ALTER TABLE  event_profile_delivery_item ADD FOREIGN KEY (  event_id ) REFERENCES  aticatest.event (id) ON DELETE CASCADE ON UPDATE CASCADE;

CREATE TABLE module (
  id int(11) unsigned NOT NULL AUTO_INCREMENT,
  name varchar(45) NOT NULL,
  version varchar(10) NOT NULL,
  cron int(11) unsigned NOT NULL DEFAULT '0',
  last_cron bigint(1) unsigned NOT NULL DEFAULT '0',
  is_active tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;

INSERT INTO module (id, name, version, cron, last_cron, is_active) VALUES (1, 'core', '2014050501', '0', '0', '1');
chore(sql): Updated SQL table definitions to latest changes

- Actualizada las definiciones de las tablas con los últimos cambios