fix(web-server): #518 HTTPS Support for Karma Server

Add 'pem' dependency to allow for creating one-time certificates
when config.cert.key/cert are not specified.

Cleanup of some lint errors (oops)