Feature/update templates

Minor cleanups to `hadoop-distributed` and lots of memory-saving options on `hadoop-singlenode` template.
I know. I tend to make them strings because Ruby autotypes stuff and a lot of code assumes a string and not an integer. We've managed to check and convert types when necessary, but I tend to be cautious.