changed es_connect a bit to allow easier setting of url other than localhost
changed es_connection to only get connection details, not set them
now exporting es_count
added extra example to es_get