Various updates

* New DB config
* Elasticsearch memory limit
* Less environment variables for vagrant exec
* Added imagemagick package