Updated for solr 4.2

Had some issues with the format of the post-json for 4.2 so I'm updating
the script to work for it. Some other changes will be coming as well to
make this a bit more useful for multi-DC deployments/clusters.