elasticsearch_http replication type

This pull is in addition to #700 

Add support for replication types instead of setting a bool for async replication.