Removed useless file commerce_event_ticket.entity.inc.
Tickets should be fieldable.
Save PDF files in a file field (simplifies code).
Multiple fixes; removed Rules integration.