invoices: select date range for log entries
domain/log_entry: add belongs_to issue
staticconfig: add template output dir
invoices: generating works.

In the future we'll want some robustness fixes, and some
more testing which is lacking at the moment