fix bash conditionals
reconfigure where elasticsearch heap dumps occur, using /mnt when available /issue #141
dynamically calculate elasticsearch heap size /issue #119
auto-create symlinked data dir if it has been lost /issue #119