IndexExists and some error prevention

I added IndexExists per http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-exists.html and a bit of error handling to go with it (so far, if response body is empty you get an error thrown instead of getting back an empty Response object).
Also just added ignoring of vim swap files :)