Added support for configuring Pages CNAME and TLS Certificates

Merged Kamil Trzciński requested to merge pages-cname into master

Preliminary implementation with all expected features that will ship with this feature.

What is supported:

  • Multiple domains per-project
  • One certificate per-domain
  • Validation of certificate
  • Validation of certificate chain (solves a problem with missing intermediates)
  • Validation of private key against certificate
  • Support for Pages Daemon (the shared/pages/group/project/config.json) that will be read by daemon

Plans for enhancements:

  • Write behavior and unit tests
  • Make the UI nicer

/cc @grzesiek @DouweM @sytses @rspeicher @marin @jacobvosmaer