adds config reading to deploy.js
add function to read stack params, nail default override ordering
factors createStack and setupStack into index.js for use by other libs. refs #9