First pass

modularize scaffolding for node cluster

currently projects like cn, rtapi, ncar, pds all have a variant of this

please provide opinions

@Raynos @mrhooray @jsu1212 @kumikoda 
using a `Object.keys(someObject).forEach(fn)` loop is faster then using a `for (var k in obj) { if (hasOwnProperty) { } }` loop.

It's also safer, you won't accidentally forget the `.hasOwnProperty()` check.

It's also safer, by using a function and a closure you have access to a lexical `id` variable which means if you create closures inside the loop you don't run into the closures inside a loop bug.

It's general code hygiene to favor the `Object.keys(o).forEach(fn)` way of looping through the keys of an object and it's a nitpick that I refactor away whenever I see it because OCD.