Debug pysolr via environment variable.

Make it easier to debug pysolr via environment variable instead of having to change source code directly.
@acdha Ping, updated after your suggestion.