Private event without token + Access handling improvement

- An event has now a hash as id and the token of a private event is set
to this hash
- The access handling on the events and medias has been improve (but
need to add administrator user list for the events and reading/writing
user list for private events)
- Made the code proper