adds major deployment::rails rework

fixes a couple pending issues
locks external cookbook dependency versions
refactors rails database config generation