Make the Session scoped in order to cope with threading.
Use scoped session in exporter.
Remove rd parameter from all exporters.
Remove obsolete commen about rd parameter.
Simplify rating format.
Remove some dead code.
Move some more logic and globals to models/recipe.py.
Simplify exporter.
Fix Recipe multiplication and add test.
Fix HTML exporter.