fix datetime issue using local timezone instead of UTC
use explicit timezone formats, otherwise odd things like "-1" is considers a date
work around race condition where isLeader is called before Elector.init
fix shard/replica on initIndex
add writeConsistency option (one,quorum,all)
stub default document type
set default scan size to be 1000 records (from 100)
use bulk api for mass insert/deletes (1000 records per batch)
log exception when error occurs
replace '.' with '_' for ES index names as per constant deprecated warnings in ES log