Support quoted environment variables

This change makes use of shlex to correctly parse the environment options and work around quoted values.