implement basic authentication config
implement basic proxy config support
use correct file contents
proxy: split out service state management
proxy/ssl: completely redo ssl config for foreman and proxy

This requires manual fixes in the foreman db/settings
Merge pull request #12 from DavidS/master

update foreman proxy stuff and ssl handling