essync configuration parameters.

Added a -settings and a -mapping flag to essync to
allow the user to configure the elasticsearch index correctly
before syncing the data. This saves manually setting up the server.
I'm still getting used to that one. I've always done it this way in the past, but I've no strong opinion on it.