Add billing daemon

This adds a daemon application for handling the scheduled task of sending payment request emails. It consists of the following parts:

Add subscription route. Add billing list route. Add billable creation route. Move billing config to lib module Add payment request email templating to Billable. Add synthesis of billing URL from payment key Add memo & payment response URI to bill payload.

Fix a bunch of broken SQL using postgresql-simple-query-validator

See https://github.com/joncfoo/postgresql-simple-query-validator for the awesomeness.

Created by  Kris Nuttycombe  on September 24, 2017
IPG33FAWXGEQ2PO6OXRT2PWWXHRNMPVUKKADL6UKKN5GD2CNZ25AC
Dependencies
In channels
main
Change contents