Various tweaks for running elasticsearch with more deta:

- Allow configuration of elasticsearch heap size.
- Allow setting the number of open files.
- Increase timeout on the big bulk updates in the migrations.