Python import cmdline param support and bulk settings

* Bumps elasticsearch dep to 1.1.0
* Misc cleanups
* cmdline `--es` and `--json` switches (mutually exclusive but required)
* Tries to use also "bulk settings" when indexing in ES

Database is (like always) the bottleneck, I might try to see if it's possible to have better performance when reading from it

Hope it's a welcomed PR (no biggie anyway) ciao! :smiley: