If available, load socket basename from calling environment

The environment variable to query is loaded from:
   config.main.basename_variable
Ensure that logging is setup in config loader
merged changes from richo
Unbreak views
Merge branch 'master' of github.com:snarez/voltron