frontend: start implementing source persistence

- implement persister in dia
- use config's knitting settings in frontend instead of creating yet more
  settings
- generate the source settings from the knitting settings and the
  input
agile: backlog generalise persister, remove serialisation helpers