PSR-2 fixes
Small refactor on attendee json service
It's now possible to apply discount coupons at registration (closes #40)