Strips quotes from the environment variable value.

This was borrowed from the excellent phpdotenv with very few changes.
https://github.com/vlucas/phpdotenv

@param string $value

@return string
@throws \InvalidArgumentException