Update to version 0.20.6 as the default
Modes don't need to be strings, use modern restart syntax and fix in.sh to actually execute

With mode set to 0644 on in.sh elasticsearch won't start
Add name to metadata
Dont use strings for mode defs
Use single quotes where interpolation isn't necessary
Update template of yml config to the 0.20 config
Add default cluster_name attribute to attributes file