initial port to Twisted.  Quick and dirty, no fancy stuff.   Runs!
Twisted server uses TLS/HTTPS
return correct content type in web API calls
finish removing PGM and event time ago