Allow tickets to be created for different order statuses than those considered to be 'valid'. So, for example, tickets can be pre-created before the order is complete.
Removed dpm() call.
Fixed: did not load ticket entity properly during validation.
Fixed: prevent collisions in ticket filenames.
Make sure the order status on the ticket is obviously just the 'current' status.