added is_array check in getschema

check if solr server is there and returns an array. this might need some improvement in a next release.

Signed-off-by: Olivier Dobberkau <olivier.dobberkau@dkd.de>