Placeholders in subject were not being replaced because there was
no `.format()` called on the subject.
This commit creates a context dict that is used for both the body
and the subject. It is then replaced using `.format_map()`
Fixes https://github.com/pretix/pretix/issues/531
* New concept for fee handling
* More usages
* Remove all usages, make all tests pass
* API changes
* Small fixes
* Fix order of invoice lines
* Rebase migration
* added fields and logic for adding quota in creation of product
* added section for selecting quota option
* logic for hiding quota selections when needed
* fixed logic for quota selection
* formatting, removed print statements
* styling
* tests for adding quotas in product form
* cleaned up
* added divs
* reworked to include translatable text, readable values for quota options
* quota_add_existing form assignment to str(q.pk)
* made changes for radio buttons, added in sliding animation
* moved string constants for quota options, changed quota options to RadioSelect from Select
* Addition of all basics required for microdata
Microdata for event added to the head of the base event html template.
* Fixed flake8 errors & included settings checks
Fixed the flake8 too many blank line errors and changed the date and time section to refer to settings before including the time and/or the date_to.
* Typo in last commit
Fixed typo in last commit
* Fixed bracket mistake and flake8 error
Fixed tab between { and % in template tag. Removed extra lines. Removed unnecessary str() call.
Corrected binary & to [and] operator.
* Added testing for microdata
Testing added to the presale.test_event tests to cover the 4 branches and basic microdata functionality.