Added ability to allow some fields to use environment expansion

This change allows certain fields in the configuration file to be parsed for environment variables. The primary reason I needed this was so that when I set it up as a user service with systemd it is able to read $XDG_RUNTIME_DIR and some other variables, allowing them to share the same unit files and configurations.