re-works rails deploy script

no leveraging the cap script(s) repo
still need polishing on database YAML configs