Fix: logger_class can be undefined.
Move setting of environmental variables before preload_app start.

Move setting of env vars from Arbiter.start to Arbiter.setup so that they are available during application start up when 'preload_app' is used.

Closes #735
Remove unused imports
Stop all servers