Add optional logging to Papertrail
Move some config data into .env.php