Solr.add generator expression support (closes #81)

The only compatibility issue before was a logging statement using len()
on the input docs variable, which fails on generator expressions. Thanks
to @timsavage for a patch changing this to measuring the message which
is actually sent to Solr instead